![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Jun 2006
Location: New York
Posts: 43
Rep Power: 0
![]() |
socket api
I'd greatly appreciate it if anyone can tell me where i could find the native c++ socket api documentation/reference. (socket.h)
__________________
It's not complex if you know what you're doing... |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Oct 2005
Location: Ohio
Posts: 177
Rep Power: 0
![]() |
Try using libnet. It's cross platform.
|
|
|
|
|
|
#3 | |
|
Hobbyist Programmer
|
Google "Beej's guide to network programming." It's a great tutorial for starting network programming, and works under windows too (on win32 you just have to include winsock2.h and startup winsock for the most part) with a little editing.
Quote:
|
|
|
|
|
|
|
#4 |
|
Programmer
Join Date: Jun 2006
Location: New York
Posts: 43
Rep Power: 0
![]() |
(@mad_guy) yeah its pretty good, thanks.
(@frankish): (I'd use ACE if that was the point) Thanks but it wouldn't help. Im reading the Richard Stevens tcp/ip implementation vol 2. (great fuckin book) Its a detailed guide reviewing every line of networking code in the bsd 4.3 kernel. These books can turn someone into a networking sage. I've read (not in the stevens book)that the socket.h api is very error prone and overly complex; I want to try out a few things myself...
__________________
It's not complex if you know what you're doing... |
|
|
|
|
|
#5 | |
|
Hobbyist Programmer
Join Date: Oct 2005
Location: Ohio
Posts: 177
Rep Power: 0
![]() |
Quote:
|
|
|
|
|
|
|
#6 |
|
Programmer
Join Date: Jun 2006
Location: New York
Posts: 43
Rep Power: 0
![]() |
What socket api do you guys use for c++?
__________________
It's not complex if you know what you're doing... |
|
|
|
|
|
#7 |
|
Hobbyist Programmer
Join Date: Jun 2006
Location: Ireland
Posts: 152
Rep Power: 3
![]() |
I use Boost.Asio, It hasn't been officially accepted by Boost yet but is in the review stages and will surely be accepted in the a future release.
__________________
Visit my website BinaryNotions. |
|
|
|
|
|
#8 | |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
Boost.Asio will be in the next version boost:
Quote:
|
|
|
|
|
|
|
#9 |
|
Programmer
Join Date: Jun 2006
Location: New York
Posts: 43
Rep Power: 0
![]() |
You ever concider using the native api eoin?
__________________
It's not complex if you know what you're doing... |
|
|
|
|
|
#10 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
Boost.Asio is pretty sexy
, why be platform dependent? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|