02-25-2011
its almost 200 lines of code...
i just wanted an idea how to run 2 diff threads parallely..
both are socket programs which interact with other systems..
regards
kulkarni
10 More Discussions You Might Find Interesting
1. Programming
Dear Reader,
Is there any way to check up socket status other than 'netstatus '
Thanks in advance, (1 Reply)
Discussion started by: joseph_shibu
1 Replies
2. Programming
Hello,
I actually try to make client-server program.
I'm using SCO OpenServer Release 5.0.0 and when I try to compile my code (by TELNET) I've got this error :
I'm just using this simple code :
and I get the same error if I use :
If someone can help me,
Thanks (2 Replies)
Discussion started by: soshell
2 Replies
3. IP Networking
my system is a stand alone system... i want to try doing socket porgramming..ihave heard that this is usually done during testing...
how can i do that....? (6 Replies)
Discussion started by: damn_bkb
6 Replies
4. Programming
Hello!:)
I'm trying to do some socket programming based on the following situation:
I have a directory service named Casino that will hold all the information regarding the gamers that will try to connect to it in order to play a game(for example (Blackjack).Once they make the login they are... (4 Replies)
Discussion started by: maracumbigo
4 Replies
5. IP Networking
Hello Everyone
Iam working on tcp/ip programming.with some time interval server has to send data.client has to close the connection and to open the connection between the time interval.this is the scenario
when iam closing the connection in client side the connection terminates.how to... (1 Reply)
Discussion started by: sureshvaikuntam
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am trying to connect to more than 60 servers to perform some actions remotely. for this I am using ssh2. But its taking lot of time.
Though i am running the command in background, still its taking long time to execute..
Any one let me know can we use sockets instead of ssh2 for... (3 Replies)
Discussion started by: pvamsikr
3 Replies
7. Programming
Hi, i know how to use socket for TCP applications, i also know how to use RAW socket, but i would like to use socket just over IP and bellow TCP, do you know how to do that ?
i don't want to reimplement IP :)
thanks for your answer. (2 Replies)
Discussion started by: nameless`
2 Replies
8. UNIX for Advanced & Expert Users
I write kernel module with kernel threads using
linux/kthread.h on 2.6.* kernel
I tried to passing data between two kernel threads
with data argument of kthread_run( fun, data , NAME );
but this is not work I dont know why. I tried many possibility
and nothing works.
So I thought that... (0 Replies)
Discussion started by: marcintom
0 Replies
9. UNIX for Advanced & Expert Users
can we send udp message to a destination ip address .. without having an ip address configured in our machine using recvfrom ? (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies
10. Programming
Hi , i am very new to threads.. need help to build the following program.
Please if possible provide me the program.
The program should be in C language working in Linux operating systems.
Q) Execute a program using any thread library to create the number of threads specified by the user; each... (2 Replies)
Discussion started by: rajeshgauns
2 Replies
LEARN ABOUT CENTOS
tapset::tcpmib
tapset::tcpmib(3stap) tapset::tcpmib(3stap)
NAME
tapset::tcpmib - systemtap tcpmib tapset
DESCRIPTION
tcpmib_get_state
Get a socket's state
See function::tcpmib_get_state(3stap)
for details.
tcpmib_local_addr
Get the source address
See function::tcpmib_local_addr(3stap)
for details.
tcpmib_remote_addr
Get the remote address
See function::tcpmib_remote_addr(3stap)
for details.
tcpmib_local_port
Get the local port
See function::tcpmib_local_port(3stap)
for details.
tcpmib_remote_port
Get the remote port
See function::tcpmib_remote_port(3stap)
for details.
tcpmib.ActiveOpens
Count an active opening of a socket
See probe::tcpmib.ActiveOpens(3stap)
for details.
tcpmib.AttemptFails
Count a failed attempt to open a socket
See probe::tcpmib.AttemptFails(3stap)
for details.
tcpmib.CurrEstab
Update the count of open sockets
See probe::tcpmib.CurrEstab(3stap)
for details.
tcpmib.EstabResets
Count the reset of a socket
See probe::tcpmib.EstabResets(3stap)
for details.
tcpmib.InSegs
Count an incoming tcp segment
See probe::tcpmib.InSegs(3stap)
for details.
tcpmib.OutRsts
Count the sending of a reset packet
See probe::tcpmib.OutRsts(3stap)
for details.
tcpmib.OutSegs
Count the sending of a TCP segment
See probe::tcpmib.OutSegs(3stap)
for details.
tcpmib.PassiveOpens
Count the passive creation of a socket
See probe::tcpmib.PassiveOpens(3stap)
for details.
tcpmib.RetransSegs
Count the retransmission of a TCP segment
See probe::tcpmib.RetransSegs(3stap)
for details.
SEE ALSO
function::tcpmib_get_state(3stap), function::tcpmib_local_addr(3stap), function::tcpmib_remote_addr(3stap),
function::tcpmib_local_port(3stap), function::tcpmib_remote_port(3stap), probe::tcpmib.ActiveOpens(3stap),
probe::tcpmib.AttemptFails(3stap), probe::tcpmib.CurrEstab(3stap), probe::tcpmib.EstabResets(3stap), probe::tcpmib.InSegs(3stap),
probe::tcpmib.OutRsts(3stap), probe::tcpmib.OutSegs(3stap), probe::tcpmib.PassiveOpens(3stap), probe::tcpmib.RetransSegs(3stap),
stap(1), stapprobes(3stap)
IBM
--- tapset::tcpmib(3stap)