Skip to content

**** ****

for my bad memories..

Posts Tagged ‘socket’

[태그:] socket

#include “winsock2.h” void main() { // Initialize Winsock. WSADATA wsaData; int iResult = WSAStartup( MAKEWORD(2,2), &wsaData ); if ( iResult != NO_ERROR ) printf(“Error at WSAStartup()\n”); // Create a socket. SOCKET m_socket; m_socket = socket( AF_INET, SOCK_STREAM, IPPROTO_TCP ); if ( m_socket == INVALID_SOCKET ) { printf( “Error at socket(): %ld\n”, WSAGetLastError() ); WSACleanup(); return; […]

[태그:] socket

홈페이지: http://www.datareel.com DataReel – C++ cross-platform database and communications toolkit. DataReel 이란 이름을 가진.. 라이브러리. 텔넷 제어 라이브러리를 찾아보다 오픈소스로 프로젝트를 찾았음. 텔넷, ftp, pop3등등.. 여러 프로토콜을 지원함. 간단하게 예제로 들어 있는 텔넷 프로토콜을 MinGW에서 테스트 해보니.. 잘 동작함. 다운로드: dreel464.zip 텔넷 예제 // ——————————- // // ——– Start of File ——– // // ——————————- […]

[태그:] socket

홈페이지: http://netclass.sourceforge.net NetClass – a multi-platform C++ library which provides a thin wrapper for socket and thread support. This library is available under the terms of the GNU Public License. Currently, there is support for GNU/Linux and Win32 platforms. Also included in the library is the basic architecture to quickly create a simple generic server. […]