TCP-group 1995
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[no subject]
- To: tcp-group@ucsd.edu
- From: News system <news@discus.technion.ac.il>
- Date: Mon, 20 Mar 1995 17:51:43 +0200
Newsgroups: mail.tcp-group
Path: csd!vleonid
From: Leonid Voldman <vleonid@cs.technion.ac.il>
Subject: TCP stream socket based IPC.
Organization: Technion, Israel Institute of Technology
Date: Mon, 20 Mar 1995 15:54:53 GMT
Message-ID: <Pine.SV4.3.91-heb-2.04.950320174046.21261A-100000@cs.technion.ac.il
>
X-Nntp-Posting-Host: 132.68.32.8
Sender: news@discus.technion.ac.il (News system)
X-Sender: vleonid@csd
Help me! May be somebody who was writing application in TCP stream
socked based IPC know answer on my question. I open the socket by:
sock = socket ( AF_INET, SOCK_STREAM, 0 );
after it I bind the opened socket and send and receive messages by
write() and read() functions. My question is : "Is there any way to check
free room into the buffer before write() and size of already arrived
information before read() ?"
Thanks in advance,
Leo.
-- Leonid Voldman
Computer Science Department Phone : +(972)-4-294326/20 (office)
Technion -- IIT Fax : +(972)-4-294353. Home : +(972)-4-224310
Technion City, Haifa, Israel E-Mail: vleonid@cs.technion.ac.il