-
Senior Member
registered user
A similar post in the python NG turned out this tutorial.
The BSD sockets API is exposed in perl/python/ruby. If you're familiar with any of these, a few throw-away experimental scripts might help you gain a quick understanding of the API.
The C-level API requires a lot of casting if I recall correctly. The thing that really (once) helped me understand it all is that the BSD library was designed as a multi-protocol one, not just tcpip. So the structure which represents a generic network address is slightly expanded to accomodate the notion of a tcp address, and when passing pointers to these, one needs to explicitly cast in C. In C++ proper objects can represent those notions and offer a cleaner interface. You can implement such a wrapper yourself once you've understood the underlying C-level API.
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

DEC PDP-11/34 Front Panel Complete PDP11 RARE
$450.00

Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation
$500.00

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer
$224.72

HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage
$225.61

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive
$649.00

Computer Tape Reel 1600 BPI 9 Track Vintage Mainframe LOT OF 2 WITH BOX
$89.95

Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks
$79.00

Commodore 64 PC with Model 1541 Diskette Drive and Flight Simulator II *READ*
$199.99

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25
$799.00

IBM System Z10 Type 2098 Mainframe (As-Is)
$6999.99