i have a simple and brief yet very useful tutorial for client and server side socket programming. its pdf presentation.... how would i give it to you. i cant attach it here.
Does anyone know a good (and short if possible) tutorial on socket programming in C/C++ ?![]()
This will be over soon, and then I can ...
i have a simple and brief yet very useful tutorial for client and server side socket programming. its pdf presentation.... how would i give it to you. i cant attach it here.
Have you looked at this?
Seems like a ery simple tutorial.
http://www.alhem.net/Sockets/tutorial/
My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.
yes its really good and comprehensive
Hello guys , I am very new in socket programming using php. Is it possible to swap a client ip and port ? This is what I am trying to do.
Let say you have Comp1 and Comp2
and you have Server between them.
My goal is to get Comp1 and Comp2 know each others IP
so Comp1 connects to server
and server stores comp1's IP
in a text file or other place
and Comp2 connect to server
and server also stores his info
and then both comp1 and comp2 dowload the tex file
and use the info on it.
Please I would appreciate any supportive suggestions.
Thanks in advanced.
matt
To: Mattjam
Yes you can do it !!
Run the client program in comp1 and comp2 and server program on Server .
In your server program you can open a file and save the client ip address and port number.
Now,
You can ask the content of this file as a network packet from the server to the compX system and take action after parsing the packet info.
Or
You can download the text file via tftp or ftp protocol and use the data stored in it for your use.
Note: You need to handle the data carefully applying the sanity checks to be sure about the integrity of the data .
Hope this helps !!
Manish Gupta
Bookmarks