Miscellaneous > Programming & Networking
c++ socket problem
(1/1)
Stryker:
Anyone know how to properly work the recv() function? I always get something like:
T|||| e|||| s|||| t||||, not quite helpfull.
I looked everywhere, no tutorial or anything goes over the recv function very well.
This is what I have:
--- Code: ---
--- End code ---
[ July 02, 2003: Message edited by: Stryker ]
Stryker:
Fixed that one , now for my new problem :( , nothing ever works right...
This doesn't seem to be listening, when i try to connect it fails.
--- Code: ---
--- End code ---
Stryker:
ha, always fixing my own problems...
addr.sin_port=htons(4000);
got to have that htons...
Navigation
[0] Message Index
Go to full version