Re: Show computer name on a label Programming Software Development by Mr.M … <string> #include <Windows.h> #include <WinSock.h> Here are the namespaces using namespace System; using… Re: Show computer name on a label Programming Software Development by toneewa … <string> #include <Windows.h> #include <WinSock.h> #include <msclr/marshal_cppstd.h> namespace MR_MNamespace… Re: Winsock Programming Software Development by Clinton Portis Winsock is very popular, easy to use, and is a very good skill to have on the ol' resume. Companies will love you. Winsock Help? Programming Software Development by mitchfizz05 …that runs over a network, but Microsoft nor Ostrosoft winsock works. I know I am doing it right,… plus for Ostrosoft winsock you need to install its program thing on each… program on. I did sort of get Ostrosoft winsock to work. I got it to work with… out to a VB.NET plugin thing for Winsock? The built in remoting things in VB.NET… Winsock Help Please? Programming Software Development by shinsengumi …> */ #define WIN32_LEAN_AND_MEAN #include <windows.h> //#include <winsock.h> #include <winsock2.h> #include <stdio… = sizeof(AddrString); WSADATA wsaData; SOCKET ConnectSocket = INVALID_SOCKET; int iResult; // Initialize Winsock iResult = WSAStartup(MAKEWORD(1,1), &wsaData); if (iResult != 0… winsock help Programming Software Development by Nemoticchigga … socket_fd; //Socket File Descriptor void StartDevice(); //Initializes the WINSOCK API void CloseDevice(); //Close the WINSOCK API void InitializeDevice() { SetupPort(); } void SetupPort() { int… Re: Winsock help Programming Software Development by DeanMSands3 … is dead, long live multicast. Huh. http://lmgtfy.com/?q=winsock+multicast+example Also, don't forget that with any… WinSock program you write, you'll need to link in the … Winsock Programming Software Development by Tauren Does anyone know any Winsock books I need them so I can learn about the functions and the coding about it. So if anyone has any books that They can post about that would help me out ty winsock() Programming Software Development by SHAMMU am fresher to vb6.0.. am doin project on p2p communication..i wan to know how winsock() function works... and is thr any method to change the skin of forms in vb..:?: if any body knows plz .. winsock Programming Software Development by Nemoticchigga In vs2005 there is a winsock component, how do you receive data using the component? I found a ->SendData(blah), but cant find a receive. Does anyone know how to receive with this component? Thanks. Winsock Programming Software Development by clutchkiller Do any of you guys know if Winsock is a popular API that is used for companies hiring programmers? Thanks Winsock help Programming Software Development by Labdabeta I have now read a total of 5 different winsock tutorials and I still do not get how sockets work! … Re: Winsock help Programming Software Development by mike_2000_17 …-us/library/windows/desktop/ms740121(v=vs.85).aspx) for winsock is one which sets up both a client and a… WinSock problems. Programming Software Development by Eddy Dean …; different linkage c:\program files\microsoft visual studio\vc98\include\winsock.h(806) : see declaration of 'WSAAsyncGetProtoByName' c:\program files\microsoft…; different linkage c:\program files\microsoft visual studio\vc98\include\winsock.h(810) : see declaration of 'WSAAsyncGetProtoByNumber' c:\program files\microsoft… Re: WinSock problems. Programming Software Development by Eddy Dean … it does not return an error! [code] //starting up the winsock library, error checking if (WSAStartup(MAKEWORD(1, 1), &wsaData… Winsock/sockets help Programming Software Development by mitchfizz05 …is very hard! I've tryed sockets and winsock, and all the winsock things I have tryed didn't end up …work when connection to it theough LocalHost. 3. Other weird winsock - When I put it into my form Visual Basic … Its **NOT** my firewall. Can anyone give me a diffrent winsock? Or a sockets remotting tutorial that works? Thanks :( *{Sad face… Re: Winsock Multi-Client Servers Programming Software Development by FireNet … the listening socket for the server closesocket ( server_socket ); // Clean up winsock WSACleanup(); } void midcopy ( char* input, char* output, int start_pos, int…, sizeof ( SOCKADDR_IN ) ); res = WSAStartup ( MAKEWORD ( 1, 1 ), &wsaData ); // Start winsock if ( res != 0 ) { cout << "WSADATA ERROR : Error… winsock problem Programming Software Development by m_meena …\Microsoft Platform SDK for Windows Server 2003 R2\Include\winsock.h(88) : see previous definition of 'FD_SET'…Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winsock.h(411) : see previous definition of 'SO_DONTLINGER'…Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winsock.h(469) : see previous definition of 'AF_IPX'… Re: winsock problem Programming Software Development by m_meena …winsock2.h where it prevents the inclusion of winsock.h in windows.h #ifndef _WINSOCK2API_ #define …_WINSOCK2API_ #define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */ then i checked windows.… [COLOR="Green"]//to prevent inclusion of winsock.h. added ifndef and endif statements #ifndef _WINSOCKAPI_… Winsock client server test Programming Software Development by Silvershaft …WsaDat)!=0) { std::cout<<"Winsock error - Winsock initialization failed\r\n"; WSACleanup(); system("… if(Socket==INVALID_SOCKET) { std::cout<<"Winsock error - Socket creation Failed!\r\n"; WSACleanup();…;nError!=0) { std::cout<<"Winsock error code: "<<nError<<… Re: Winsock problem Programming Software Development by AndreRet …Sub Public Sub CloseSocket() Do Until Winsock.State = 0 Winsock.Close Winsock.LocalPort = 0 Close #1 … FileLength = FileLen(FilePathName) RESUMEFILE = True Main.Winsock.Connect strSvrURL, 80 End If End If End… strSvrURL & vbCrLf strCommand = strCommand + vbCrLf Winsock.SendData strCommand 'sends a header to the server instructing … Winsock Multi-Client Servers Programming Software Development by FireNet …Echo_client.cpp-------------------*/ #include <windows.h> #include <winsock.h> #include <stdio.h> #include <… = WSAStartup(MAKEWORD(1,1),&data); //Start Winsock cout<<"\n\nWSAStartup" <<…Exit server loop and cleaup memory 10.Stop Winsock. Note:Of course most parts have their own… Winsock connection problem Programming Software Development by dancraggs … to a POP3 server. Problem is, I have the winsock.Connect function, then the DataReceived event SHOULD be called …' and we can continue). So it looks similar to: winsock.Connect ' Data received here hopefully, and written to recddata …, my problem is that it just skips completely past winsock.Connect, doesn't write anything to the data variable,… Re: Winsock API - send an receive data simultaneously Programming Software Development by Addison111 … call_from_thread(int tid) { if( tid == 0 ){ //WinSock Startup WSAData wsaData; WORD DllVersion = MAKEWORD(2, 1); …), NULL); } }else if( tid == 1 ){ //Winsock Startup WSAData wsaData; WORD DllVersion = MAKEWORD(2, 1);… Re: Winsock API - send an receive data simultaneously Programming Software Development by Addison111 … call_from_thread(int tid) { if( tid == 0 ){ //WinSock Startup WSAData wsaData; WORD DllVersion = MAKEWORD(2, 1); …), NULL); } }else if( tid == 1 ){ //Winsock Startup WSAData wsaData; WORD DllVersion = MAKEWORD(2, 1);… Re: Winsock and looping issues unsure how to resolve Programming Software Development by Comatose I don't use winsock. It's functionality is limited in the realm of sockets,… gives a whole list of properties and methods that make winsock look like a joke. Anyhow, I have written a …if this helps! If you really [B]MUST[/B] use winsock, maybe the concept behind how my port scanner runs will…help give you the same idea to use with your winsock app. Re: Winsock.scr Help Hardware and Software Information Security by DMR …] F2 - REG:system.ini: Shell=Explorer.exe winsock.scr 2. Search your system for winsock.scr, and delete the file if you… for known file types". 3. Run HijackThis again. If winsock.scr has reappeared in the "F2" log entry… system.ini and look in the right-hand pane for winsock; if found, right-click on it and delete it. Exit… Re: winsock problem Programming Software Development by m_meena … the errors exist. winsock2.h itself prevents the inclusion of winsock.h in windows.h. i also tried using preprocessor macro… Re: winsock problem Programming Software Development by Salem I was just going by this thread on another forum. [url]http://forums.devshed.com/c-programming-42/winsock-problems-456175.html[/url] You could also post the first 10 or so lines (all your #includes) of a file which throws all these errors. Winsock sending Programming Software Development by bushman_222 Hiya all, how do people send things over the winsock command. Say that you have a server that does two … I prefix the text with a command ie winsock.senddata "\A" or winsock.senddata "\B" How do you…