Search Results

Search: Posts Made By: nowayy
Forum: Programming 04-15-2010
8,976
Posted By nowayy
socket() No Route to host ??
Hello,

My program should connect to a server. here's the code :

int main(int argc, char *argv[]){
int sock = socket(AF_INET, SOCK_STREAM, 0);
if(sock == -1){
...
Showing results 1 to 1 of 1

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