Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with NMMsg and tcp/ip chat program

Status
Not open for further replies.

samibami

Programmer
Oct 12, 2003
28
IL
i'm using NMMsg and NMMsgSrv for a little tcp/ip chat program.most of the time it works great.sometimes i get error messages like "already conected" or "hostlookup time out" .i checked the code many times and can't figure out what seems to be the problem.i'm using bcb5.

the remote host is automaticly configured to my dns name so my friends wont need my ip address to send a message.
once they send a message,my client software gets their ip from the RemoteIp property,that way i can replay .

NMMsg1->Host= NMMSGServ1->RemoteIP

rarely i get errors like "socket operation on nonsocket"
i can't remember exactly..

if you have any ideas it would be great.
10x
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top