Path: utzoo!utgpu!watserv1!watmath!att!news.cs.indiana.edu!samsung!uakari.primate.wisc.edu!crdgw1!rpi!uupsi!sunic!liuida!mikoh From: mikoh@IDA.LiU.SE (Mikael Ohlsson) Newsgroups: comp.protocols.tcp-ip Subject: Socket problems Keywords: sockets, sparc, network programming Message-ID: <1991Feb21.133256.2179@ida.liu.se> Date: 21 Feb 91 13:32:56 GMT Sender: news@ida.liu.se (News Subsystem) Organization: CIS Dept, Univ of Linkoping, Sweden Lines: 21 I have some problems with a socket connection. To read and write a character from a socket takes about 1ms each. To write an integer takes about 1ms, but to read an integer takes about 180ms. My question is: Why does it take so long time to read an integer from a socket? Has it something to do with setting up the socket? The processes communicates via a stream-socket connection between two Sparcstations and the underlying protocol is TCP. I don't know wery much about network programming so I would really appreciate if somebody could give me a clue. -- --------- Mikael Ohlsson, IISLAB, Department of Computer and Information Science, Linkoeping University, Sweden Internet: mikoh@ida.liu.se, UUCP: enea!liuida!mikoh, BITNET: mikoh@seliuida Brought to you by Super Global Mega Corp .com