TCP/IP in c (unix)


 
Thread Tools Search this Thread
Special Forums IP Networking TCP/IP in c (unix)
# 1  
Old 09-16-2005
TCP/IP in c (unix)

I have written a client receive (TCP/IP) program which is up all the time. It connects to the server during Beginning of the day and stays alert and reads a message whenever one comes in.

the problem is after receiving a message, the client_receive program is getting a message with zero bytes. Why I am getting the zero bytes? What is the reason. The server is still up and is running fine....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies

2. HP-UX

Logging into UNIX via TCP/IP Telnet

I can connect to the UNIX box using a TCP/IP Telnet session but the UNIX does not respond with the login prompt. The box responds to a PING and the Telnet session actually connects, but no prompt of any sort is recieved back. I can connect via the console, get the login prompt and can login. ... (3 Replies)
Discussion started by: Newnix
3 Replies

3. Programming

[C++] [Unix] TCP non-blocking. Detect server disconnection procedure over, from client.

Hello! I searched forum for similar topic, with no luck, if you know one, delete this topic, and send me private message with link please. Little background: I have a lot of clients and one serwer. Client can make multiple connections on different ports and ips, but only one can be acctive... (2 Replies)
Discussion started by: ikeban
2 Replies

4. SCO

TCP in sco unix 3.2

Hi every body. I am looking for TCP package under sco unix 3.2 or sco xenix system. would you please help me? (7 Replies)
Discussion started by: javad1_maroofi
7 Replies

5. UNIX for Dummies Questions & Answers

TCP(?) Printing from Unix

I am trying to set up a unix server to print to a printer in another city. I've got a "Unix" guy helping me set up the printer on the unix box, but we are having trouble. The printer is located on an HP JetDirect 170x print server on a private network. On the router at that location, I have... (4 Replies)
Discussion started by: Bortiquai
4 Replies

6. SCO

all tcp are CLOSED on SCO Unix on VMWARE

Hi folks, First of all, sorry about my english, isn't the best and thks for advance. Here es my problem... I have virtualize an SCO unix with VMware ESX 3 and everything was going on beatifull until that i try to connect from anorther host, i can't do it so i check the connection with... (5 Replies)
Discussion started by: martocapo
5 Replies

7. UNIX for Dummies Questions & Answers

Unix stopping the tcp services

Hi There We currently experiencing a problem on our Unix server Sco 5.07 , whereby the tcp services stops on it own and even if we restart the services manually the services still does not come up,We loose the printer and pc connections to the server we then need to restart the Unix server in... (1 Reply)
Discussion started by: esh
1 Replies

8. UNIX for Dummies Questions & Answers

SCO UNIX "TCP/IP not licensed error"

I have been running 5.0.02 for more than 10 years in its present configuration. I am running a business software package on it (text based). I am trying to use my windows machines to access it through a program like "reflections" so that I can run my software from different systems but I get... (2 Replies)
Discussion started by: Parkegio
2 Replies

9. IP Networking

Unix Scripts & Counting TCP Connections

Here's a question I received on a test recently. I'm new to Linux/Unix so if this is easy, don't kill me. What scripting or tools could you use to count and sort the number of connections from each internal host? I'd appreciate any feedback and resources. "The Cisco PIX firewall provides... (5 Replies)
Discussion started by: daveohr
5 Replies

10. UNIX for Dummies Questions & Answers

Unix TCP/IP ping to other subnet

I have Digital UNIX V4.0B (Rev. 564) on alpha machine. I'm trying to acces network in subnet (192.168.1.x). Ip on Alpha comp. is from 192.168.3.X subnet. My default gateway on this network is 192.168.3.1 and it working OK from other machines. This machine is visible from same subnet... (2 Replies)
Discussion started by: ermingut
2 Replies
Login or Register to Ask a Question
tapset::tcp(3stap)														tapset::tcp(3stap)

NAME
tapset::tcp - systemtap tcp tapset DESCRIPTION
This family of probe points is used to probe events that occur in the TCP layer, tcp.sendmsg Sending a tcp message See probe::tcp.sendmsg(3stap) for details. tcp.sendmsg.return Sending TCP message is done See probe::tcp.sendmsg.return(3stap) for details. tcp.recvmsg Receiving TCP message See probe::tcp.recvmsg(3stap) for details. tcp.recvmsg.return Receiving TCP message complete See probe::tcp.recvmsg.return(3stap) for details. tcp.disconnect TCP socket disconnection See probe::tcp.disconnect(3stap) for details. tcp.disconnect.return TCP socket disconnection complete See probe::tcp.disconnect.return(3stap) for details. tcp.setsockopt Call to setsockopt() See probe::tcp.setsockopt(3stap) for details. tcp.setsockopt.return Return from setsockopt() See probe::tcp.setsockopt.return(3stap) for details. tcp.receive Called when a TCP packet is received See probe::tcp.receive(3stap) for details. SEE ALSO
probe::tcp.sendmsg(3stap), probe::tcp.sendmsg.return(3stap), probe::tcp.recvmsg(3stap), probe::tcp.recvmsg.return(3stap), probe::tcp.disconnect(3stap), probe::tcp.disconnect.return(3stap), probe::tcp.setsockopt(3stap), probe::tcp.setsockopt.return(3stap), probe::tcp.receive(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::tcp(3stap)