Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / Using Sockets on W7x64 - am I having a brain dead day?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Using Sockets on W7x64 - am I having a brain dead day?
#13631
Posted by: garrygreen 2013-01-15 04:39:58
Code is as follows; say for hostaddr is null; say for errno - uninitialized variable!!!!

LIBRARY REXXSOCK
HOSTADDR = SOCKGETHOSTID()
SAY HOSTADDR
SAY ERRNO

Shouldn't HOSTADDR be 192.168.0.2 (my computer's lan ip) and shouldn't errno be initialized?

First time using SOCKS - want to write a server that waits to receive a UDP message and then reissue a TCP message to the SNBA (subnet broadcast address).

Yes its a Wo WAN server app!!!!!
Garry G. Green
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sun 2024-10-6  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0