- From: Vinod Cherian Joseph <vinod AT corecess.com>
- To: <naveenreddy32 AT yahoo.com>
- Cc: discussion AT sctp.de
- Subject: Re: [SCTP-Discussion] Multithreading
- Date: Fri Jun 20 06:12:01 2003
- List-id: SCTP Discussions <discussion.sctp.de>
- Organization: Corecess
Naveen
Go the directory where u have installed sctp eg. *
From there go the the following directory and check out TCP_combined_server.c
The main at the end of the file calls init_server() which creates the
thread........
But, Michael, i thought i had seen "#define ext_socket() socket()" in ur
header file. They why do you always specify to use ext_socket()
only....Sorry, i have not gone through much of your code but remember having
seen this in your header file..
Also, why have you not used ext_socket(PF_INET, SOCK_SEQPACKET, IPPROTO_SCTP);
i.e any particular reasons for not creating an sctp_server and using the
tcp_server ?
Thanks in advance
Vinod
*/socketapi-1.2.0/socket_programs
On Thursday 19 June 2003 18:16,
naveenreddy32 AT yahoo.com
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
>
_______________________________________________
>
discussion mailing list
>
discussion AT sctp.de
>
http://www.sctp.de/mailman/listinfo/discussion
Archive powered by MHonArc 2.6.19+.