home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / parallel / 2586 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.5 KB  |  44 lines

  1. Newsgroups: comp.parallel
  2. Path: sparky!uunet!gatech!hubcap!fpst
  3. From: rsaripa@hubcap.clemson.edu (saripalli ramakrishna)
  4. Subject: Problem with write() and read() system calls on IPSC/2!.
  5. Message-ID: <1992Nov23.125717.8766@hubcap.clemson.edu>
  6. Apparently-To: comp-parallel@uunet.uu.net
  7. Sender: fpst@hubcap.clemson.edu (Steve Stevenson)
  8. Reply-To: hubcap!rsaripa@uunet.UU.NET (saripalli ramakrishna)
  9. Organization: Clemson University
  10. Distribution: na
  11. Date: Sat, 21 Nov 1992 12:00:18 GMT
  12. Approved: parallel@hubcap.clemson.edu
  13. Lines: 29
  14.  
  15. Hi there,
  16.  
  17.     
  18.     In my previous posting on comp.parallel,I had asked for any one way to do TCP/IP on IPSC/2 .
  19.  
  20.     I really appreciate the responses and I found them very useful to get me starting.
  21.  
  22.     But I have got stuck at one point.
  23.  
  24.     I am able to establish the connection thru sockets to the SUN workstation.
  25.  
  26.     The host on the IPSC/2 sends some data on the socket to the front end on the SUN using the
  27.     write() system call( I guess it is a library call on IPSC/2).The front end on the SUN
  28.     does a read() to read the data.The data sent is just one integer.
  29.  
  30.     The point is that the front-end gets some junk value due to which I get a segmentation violation message.
  31.  
  32.     Is the write() system call on IPSC/2 not really reliable(I am checking for the failures in both read()
  33.         and write() and they don't fail!).
  34.  
  35.     How do I send data using sockets on IPSC/2? Are there other ways or am I doing something wrong?.
  36.  
  37.                 
  38.  
  39.                                     thanks in advance,
  40.                                 Saripalli Ramakrishna
  41.  
  42. e-mail : rsaripa@cs.clemson.edu
  43.  
  44.