SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] socketapi & MacOS X 10.4


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: Andreas Fink <afink AT global-networks.ch>
  • Cc: "discussion (E-mail)" <discussion AT sctp.de>
  • Subject: Re: [SCTP-Discussion] socketapi & MacOS X 10.4
  • Date: Wed Sep 21 13:52:03 2005
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi Andreas,

see my comments in-line.

Best regards
Michael

On Sep 21, 2005, at 13:06 Uhr, Andreas Fink wrote:


On 21.09.2005, at 00:30, Michael Tuexen wrote:

Hi Andreas,

thanks for letting me know. There is an Internet Draft
http://www.ietf.org/internet-drafts/draft-ietf-tsvwg-sctpsocket-11.txt
and you can also read the third edition of Unix Network Programming.

Ah. Thanks for that hint.

The only difference is that you must use
ext_socket instead of socket, ext_bind instead of bind and so on.
Have a look in ext_scoket.h so see which functions you have to use.

Please note that you can not use fork() and that you have to
replace *all* functions which handle socket file descriptors by
the corresponding ext_* calls.

meaning if I use a TCP socket in the same app I have to do use ext_* as well?
Yes. The socketapilib passes the calls to the kernel...
and not being able to use fork, does that also mean I can not use multi threading (phtreads)?
You can use threads.


And there are examples in socket_programs...

examples not explaining what they are trying to achieve are worthless ;)
But you can find out how to link the programs....

Andreas Fink
Global Networks Schweiz AG

------------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666334 Mobile: +41-79-2457333
Global Networks Schweiz AG. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/
afink AT global-networks.ch
------------------------------------------------------------------
ICQ: 101946485 MSN:
msn1 AT gni.ch
AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
PGP9: 0714 DF2B A189 A760 6201 5CBD D040 3E71 4DAF 68BB








Archive powered by MHonArc 2.6.19+.

Top of page