|
-
Mar 8th, 2003, 11:30 PM
#1
Thread Starter
Junior Member
Sockets
I can do a little bit of sockets in Windows, but how do you do it in Linux? Are the functions the same or do you need to use different ones? What are the headers? Also how can you get a socket to listen on a port but accept many connections at a time (both win and lin)? I'm familiar with this in VB but not C++. I need any info to not be specific to any libs or MFC. Thanks a lot!
-
Mar 9th, 2003, 08:43 AM
#2
The sockets are nearly the same, with only a few differences. In particular all functions of the windows sockets that start with an upper case letter are not available in UNIX, at least not with these names.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 9th, 2003, 01:25 PM
#3
Thread Starter
Junior Member
Where can I find the names I need?
-
Mar 9th, 2003, 01:27 PM
#4
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 10th, 2003, 06:39 PM
#5
Thread Starter
Junior Member
I only found http://msdn.microsoft.com/library/de...unctions_2.asp which is a good list but if I click one of those WSA functions I can't find a Linux equivalent on that page (or anywhere). Where on MSN is it?
-
Mar 11th, 2003, 02:37 PM
#6
Why should MS list the Linux equivalent? All functions that use only lower case characters are the SAME in Linux. Those that start with an upper case letter are NOT available in Linux and there probably is no equivalent (those are extended windows-specific functions).
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 11th, 2003, 06:34 PM
#7
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|