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 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)
Hi,
I wanted to write a socket program in C, where I always want my socket connected to the server. i.e i shouldn't get disconnected once i get the response back from the server. I want to work in the connected mode, instead of disconnect and connect.
Can somebody please kindly provide me a... (3 Replies)
in socket programming how can i : Create for example 3 blank files, namely: server, client, network
•Server: act as servers/provider, will receive all requests from different client
•Client: requesters
•Network: middle-layer of communication between server & client
any tips or... (6 Replies)
hi, i am newbie of socket. i want to ask some question. if i want to send file from client to server, how do i do? and if i want to send file from server to client, how do i do?
any pro help me and if possible, you can post code for an example
i need it very much
thank you for helping me:)... (1 Reply)
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (0 Replies)
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 Replies
LEARN ABOUT MINIX
getc
GETC(3) Library Functions Manual GETC(3)NAME
getc, getchar, fgetc, getw - get character or word from stream
SYNOPSIS
#include <stdio.h>
int getc(FILE *stream)
int getchar(void)
int fgetc(FILE *stream)
int getw(FILE *stream)
DESCRIPTION
Getc returns the next character from the named input stream.
Getchar() is identical to getc(stdin).
Fgetc behaves like getc, but is a genuine function, not a macro; it may be used to save object text.
Getw returns the next int from the named input stream. It returns the constant EOF upon end of file or error, but since that is a good
integer value, feof and ferror(3) should be used to check the success of getw. Getw assumes no special alignment in the file.
SEE ALSO clearerr(3), fopen(3), putc(3), gets(3), scanf(3), fread(3), ungetc(3).
DIAGNOSTICS
These functions return the integer constant EOF at end of file, upon read error, or if an attempt is made to read a file not opened by
fopen. The end-of-file condition is remembered, even on a terminal, and all subsequent attempts to read will return EOF until the condi-
tion is cleared with clearerr(3).
BUGS
Because it is implemented as a macro, getc treats a stream argument with side effects incorrectly. In particular, `getc(*f++);' doesn't
work sensibly.
7th Edition May 14, 1986 GETC(3)