![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help regarding socket programming | abmxla007 | High Level Programming | 1 | 05-28-2008 03:17 AM |
| Socket Programming | arunviswanath | High Level Programming | 7 | 01-30-2007 03:18 PM |
| Socket Programming socket | soshell | High Level Programming | 2 | 06-29-2004 08:49 AM |
| Socket Programming | joseph_shibu | High Level Programming | 1 | 11-05-2001 10:37 AM |
| Socket programming | Nadeem Mistry | High Level Programming | 1 | 07-23-2001 05:33 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
connect() function in C++ socket programming
Hello All,
I have a problem using connect(...) function in C++. I am using SSH from my windows system to connect it to linux server. The program works fine if I run it directly in Linux machine but I need it to run through windows machine. The function returns -1 and so my program terminates. Can anyone help? or tell me how to show the exact error in unix C++ program because I am getting '1076041180' error number and I can't figure what is the exact problem. Thanks... |
|
||||
|
Can u give out more details.. What are the parameters you are passing to Connect() call.. That will surely help.. Check that against the connect API. usually people go wrong with the second parameter, the DS storing the address, port ..
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|