So like what you all said it might be the reading part that is the the problem.
From what I think is just the read problem?
Reason is I comment the write link it just run the loop normally.
Suppose i am writing a C program which is going to use Socket calls. I want to use a Unix port for my Socket.
How can i determine a port which is not already in use? (1 Reply)
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)
Hi ,
I'm facing the following problem in socket programming.
My structure is
struct {
int i;
char *str;
}samp;
I'm creating the pointer to this structure and assigning the value to the structure members and send via the socket to the another process.
The receiver process when... (7 Replies)
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)
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)
i m using sockets for setting up a connection between a server and a client.
When the clients gets connected to the server, its ip is conveyed to the server through one of the predefined structures in c library...
i save this ip address in an array....1st client's ip address goes to the zeroth... (1 Reply)
Hi,
I have a client-server socket program. It has been working fine for over a year, but recently it started to show strange behavior.:confused:
After the server program runs for a while, it will show in the top command saying it is using lots of CPU, MEM. I assume it means the server code is... (1 Reply)
I'm using C/ C++ with gcc on Linux. I've a server socket where accept() is called on the socket inside a while() loop. The problem I am facing is that the first call to accept is blocking (i.e., the program waits for the first connection) but as soon as I fork afterwards (so that the child process... (2 Replies)
will there be any unexpected results on looping connect call for a non blocking socket to determine the connection based on error code. I am getting connection unsuccessful intermittently and so wondering whether is the timeout 500 millisec not sufficient or looping connect cause any unexpected.
... (7 Replies)
Discussion started by: satish@123
7 Replies
LEARN ABOUT DEBIAN
efax-gtk-socket-client
efax-gtk-socket-client(1) General Commands Manual efax-gtk-socket-client(1)NAME
efax-gtk-socket-client - a client of efax-gtk to work with lpd/lprng
SYNOPSIS
efax-gtk-socket-client [hostname] [port]
DESCRIPTION
This program enables lpd/lprng to access the efax-gtk socket server. Meaning the user can send faxes to a printer, which will ack as a fax.
It takes two arguments - first a hostname to connect to, and secondly a port number at that hostname to connect to. All efax-gtk-socket-
client does is to read from standard input (in this case from lpd/lprng) and passes it to a socket at the hostname and port number passed
as arguments to it (namely the hostname of the computer efax-gtk is running on - normally you would specify localhost - and the port number
of the socket).
fax:
:sd=/var/spool/fax:
:mx#0:
:sh:
:lp=/dev/null:
:if=/var/spool/fax/efax-gtk-faxfilter:
This will cause a printer by the name of "fax" to be available, which (if printed to) will send the file to the efax-gtk socket server. If
you set efax-gtk to listen on a port other than port 9900, you will need to amend the file /var/spool/fax/efax-gtk-faxfilter by hand to
specify the correct port number on which efax-gtk is listening.
Don't forget to restart the lpd printer daemon after amending /etc/printcap.
OPTIONS
[ hostname ] - The name of the host to listen to. Usually should be locahlhost.
[ port ] - the port number to listen to on the [ hostname ].
SEE ALSO efax(1), efax-gtk(1).
AUTHOR
efax-gtk-socket-client was written by Chris Vine <chris@cvine.freeserve.co.uk>.
This manual page was written by Lior Kaplan <kaplan@debian.org>, for the Debian project (but may be used by others).
July 18, 2006 efax-gtk-socket-client(1)