02-25-2011
socket programming using threads
Hi,
1)i wrote a program which acts lik a client gateway serving clients request and sending probe msg`s to server to chech if its active..
2)both moduels interact when run independently my problem is that when i tr to run them as two different threads in a single program(client_gateway prog to interact with client and sending probes to server) its not woking...
kindly help
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::nfs
tapset::nfs(3stap) tapset::nfs(3stap)
NAME
tapset::nfs - systemtap nfs tapset
DESCRIPTION
nfs.fop.llseek
NFS client llseek operation
See probe::nfs.fop.llseek(3stap)
for details.
nfs.fop.read
NFS client read operation
See probe::nfs.fop.read(3stap)
for details.
nfs.fop.write
NFS client write operation
See probe::nfs.fop.write(3stap)
for details.
nfs.fop.aio_read
NFS client aio_read file operation
See probe::nfs.fop.aio_read(3stap)
for details.
nfs.fop.aio_write
NFS client aio_write file operation
See probe::nfs.fop.aio_write(3stap)
for details.
nfs.fop.mmap
NFS client mmap operation
See probe::nfs.fop.mmap(3stap)
for details.
nfs.fop.open
NFS client file open operation
See probe::nfs.fop.open(3stap)
for details.
nfs.fop.flush
NFS client flush file operation
See probe::nfs.fop.flush(3stap)
for details.
nfs.fop.release
NFS client release page operation
See probe::nfs.fop.release(3stap)
for details.
nfs.fop.fsync
NFS client fsync operation
See probe::nfs.fop.fsync(3stap)
for details.
nfs.fop.lock
NFS client file lock operation
See probe::nfs.fop.lock(3stap)
for details.
nfs.fop.sendfile
NFS client send file operation
See probe::nfs.fop.sendfile(3stap)
for details.
nfs.fop.check_flags
NFS client checking flag operation
See probe::nfs.fop.check_flags(3stap)
for details.
nfs.aop.readpage
NFS client synchronously reading a page
See probe::nfs.aop.readpage(3stap)
for details.
nfs.aop.readpages
NFS client reading multiple pages
See probe::nfs.aop.readpages(3stap)
for details.
nfs.aop.set_page_dirty
NFS client marking page as dirty
See probe::nfs.aop.set_page_dirty(3stap)
for details.
nfs.aop.writepage
NFS client writing a mapped page to the NFS server
See probe::nfs.aop.writepage(3stap)
for details.
nfs.aop.writepages
NFS client writing several dirty pages to the NFS server
See probe::nfs.aop.writepages(3stap)
for details.
nfs.aop.write_begin
NFS client begin to write data
See probe::nfs.aop.write_begin(3stap)
for details.
nfs.aop.write_end
NFS client complete writing data
See probe::nfs.aop.write_end(3stap)
for details.
nfs.aop.release_page
NFS client releasing page
See probe::nfs.aop.release_page(3stap)
for details.
SEE ALSO
probe::nfs.fop.llseek(3stap), probe::nfs.fop.read(3stap), probe::nfs.fop.write(3stap), probe::nfs.fop.aio_read(3stap),
probe::nfs.fop.aio_write(3stap), probe::nfs.fop.mmap(3stap), probe::nfs.fop.open(3stap), probe::nfs.fop.flush(3stap),
probe::nfs.fop.release(3stap), probe::nfs.fop.fsync(3stap), probe::nfs.fop.lock(3stap), probe::nfs.fop.sendfile(3stap),
probe::nfs.fop.check_flags(3stap), probe::nfs.aop.readpage(3stap), probe::nfs.aop.readpages(3stap),
probe::nfs.aop.set_page_dirty(3stap), probe::nfs.aop.writepage(3stap), probe::nfs.aop.writepages(3stap),
probe::nfs.aop.write_begin(3stap), probe::nfs.aop.write_end(3stap), probe::nfs.aop.release_page(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::nfs(3stap)