SCTP Discussions

Text archives Help


[SCTP-Discussion] Re: Multithreading


Chronological Thread 
  • From: Michael Tüxen <Michael.Tuexen AT micmac.franken.de>
  • To: "Naveen.R.Ranga" <naveenreddy32 AT yahoo.com>
  • Cc: discussion AT sctp.de
  • Subject: [SCTP-Discussion] Re: Multithreading
  • Date: Fri Jun 20 04:51:20 2003
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi Naveen,
the TCP_combined_server is an example how to use
multiple threads.

Please note, that the sctplib provides a call-back API
and the socketapilib provides you with the socket API.
You can NOT mix it.

Please look at the examples in the socketapilib distribution,
not in the sctplib distribution.

Best regards
Michael



On Thursday, Jun 19, 2003, at 11:16 Europe/Berlin, Naveen.R.Ranga wrote:

Hi all,
I am doing multithreading and was trying to
send data on different streams simultaneously using
threads(each threads sends different data).
I don't know why I am getting the send
failure. I don't know how to pass information to the
threads. I mean I am passing the same association ID.
Is that enough or is it some thing else I need to do
with "ext_accept"for the file descriptor. I am doing
this on echo_server.c and I do not see any of the
basic calls(ext-socket,....) in this. Please guide me
in having a multithreaded program. Thanks.

Naveen

=====
NAVEEN REDDY RANGA
600, South Webster Ave,#113
Norman,OK-73069.
Ph:(405)-329-5988
E-mail:
Personal:
rnaveenreddy AT hotmail.com
College:nranga AT ou.edu

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com






Archive powered by MHonArc 2.6.19+.

Top of page