Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RedHat Enterprise Linux (Kernel 2.6)
Posts: 42
Rep:
Sockets..
hello friends..
I have just started with socket programming with linux.
Now , is it possible to communicate between a windows and a linux machine with the help of sockets?
If yes,then, does the code i've written for receiving data in linux work for wimdows as well or socket programming is different in case of windows?
Please help me out with this..
hello friends..
I have just started with socket programming with linux.
Now , is it possible to communicate between a windows and a linux machine with the help of sockets?
If yes,then, does the code i've written for receiving data in linux work for wimdows as well or socket programming is different in case of windows?
Please help me out with this..
Since both are using the TCP/IP suite, hence can communicate. But you will have to make little changes in the program to run that in windows. B'coz the header files of windows and linux are different. Hence syntactically they are little different but conceptually there is no difference.
Have a look at some tutorial on socket programming in windows.
BTW which book are you following for socket programming ???
I refered " Beej's guide to Socket Programming " for linux socket programming.
Can u suggest a good one for Windows?
Search on net. U will definitely get some for windows.
Beej guide is a good start (me too learnt from that only ), but its not sufficient. You must read "UNIX network programming vol. 1" by Richard Stevens.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.