Search Results

Search: Posts Made By: karthik1238
Forum: IP Networking 05-07-2010
16,027
Posted By karthik1238
But I don't understand if i use send() and...
But I don't understand

if i use send() and recv() its sending some garbage

i have used the aove syntax for both


but if i use write and read() I am getting correct output ????
Forum: IP Networking 05-07-2010
16,027
Posted By karthik1238
i thik it should be int len=sprintf(buf,"%d...
i thik it should be

int len=sprintf(buf,"%d %d", val1, val2);
send(sock, buf, len, 0);
Forum: IP Networking 05-07-2010
16,027
Posted By karthik1238
am checking error codes its returning error...
am checking error codes

its returning error reading from socket :bad address

on the server side error writing to socket:bad address


how can I send 2 different integers , where buffer is a...
Forum: IP Networking 05-07-2010
16,027
Posted By karthik1238
write() / read() syntax
hi

am newbie to unix and socket programing

I am trying to figuring out syntax for read and write

to send data from server to client and client can read it

I have to send two integers
...
Forum: IP Networking 05-06-2010
3,678
Posted By karthik1238
Help with Unix socket programing
hi

I am strucked in a client server program

client need to login to server
client logins if only username and password are correct

i have written a program

username is stored as file...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 06:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy