代码搜索:ClientSocket
找到约 1,840 项符合「ClientSocket」的源代码
代码结果 1,840
www.eeworm.com/read/391022/8428186
cpp http代理原码.cpp
#include
#include
#define MAXBUFLEN 20480
#define HTTPADDLEN 50
#define TIMEWAIT 2000
#pragma comment(lib,"ws2_32.lib")
SOCKET Global[1000];
DWORD WINAP
www.eeworm.com/read/287962/8656556
txt winsocket网络编程谈.txt
作者:五一
日期:00-7-7 下午 02:01:48
(作者:李其 2000年07月07日 13:34)
Winsocket编程是非常复杂的,这令一般人望而生畏。但如果你想编写这样的程序,又不懂得相关知识,怎么办呢?Delphi的网络组件库中为我们提供了关于实现网络通信的组件,其中<mark>ClientSocket</mark>和ServerSocket组件使我们能够很方便地编写出自己的网络通信和资源共享 ...
www.eeworm.com/read/287382/8688234
h _emsp.h
#if !defined __EMSP_H
#define __EMSP_H
#pragma once
#include
#include ".\clientsocket.h"
#include ".\net_protocal.h"
#include
using namespace std;
namespace EMSP2_0
{
www.eeworm.com/read/286340/8770679
cpp serversocket.cpp
// ServerSocket.cpp: implementation of the CServerSocket class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "songserver.h"
#include "S
www.eeworm.com/read/427540/8937257
~1~ unit1.pas.~1~
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ScktComp;
type
TForm1 = class(TForm)
ClientSocket1: TClientSocket;
www.eeworm.com/read/283555/9007709
cpp serversocket.cpp
// ServerSocket.cpp: implementation of the CServerSocket class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "songserver.h"
#include "S
www.eeworm.com/read/380727/9132795
cpp simple_client_main.cpp
#include "ClientSocket.h"
#include "SocketException.h"
#include
#include
int main ( int argc, int argv[] )
{
try {
ClientSocket client_socket ( "localhost", 30000 );
std::str
www.eeworm.com/read/377944/9257045
txt java socket编程(三)-1.txt
作者:风之彩
email: zhonggb@163.net
日期:2001-6-29 14:50:58
服务器Sockets
服务器并不是主动地建立连接.相反地,他们是被动地监听一个客户端的连接请示然后给他们服务.服务器是由类ServerSocket来建立的.下面的程序建立了一个服务器端socket并把它绑定到80端口:
ServerSocket serverSocket = n
www.eeworm.com/read/374440/9404869
cpp serverdlg.cpp
// ServerDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Server.h"
#include "ServerDlg.h"
#include "user.h"
#define PORT (u_short)56789
#define NO_FLAGS_SET 0
#define MAXBUF
www.eeworm.com/read/374440/9404907
cpp chatserverdlg.cpp
// ChatServerDlg.cpp : implementation file
//
#include "stdafx.h"
#include "ChatServer.h"
#include "ChatServerDlg.h"
#include
#define PORT1 (u_short)56790
#define PORT2 (u_short)5