代码搜索:TCPClient
找到约 1,238 项符合「TCPClient」的源代码
代码结果 1,238
www.eeworm.com/read/234040/14124361
cpp mytcpclientdlg.cpp
// MyTCPClientDlg.cpp : implementation file
//
#include "stdafx.h"
#include "MyTCPClient.h"
#include "MyTCPClientDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THI
www.eeworm.com/read/226793/14451848
cpp tcpclientdlg.cpp
// TCPClientDlg.cpp : implementation file
//
#include "stdafx.h"
#include "TCPClient.h"
#include "TCPClientDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE
www.eeworm.com/read/226060/14499962
cpp tcpclientdlg.cpp
// TCPClientDlg.cpp : implementation file
//
#include "stdafx.h"
#include "TCPClient.h"
#include "TCPClientDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE
www.eeworm.com/read/163892/5505764
cpp tcpclientdlg.cpp
// TCPClientDlg.cpp : implementation file
//
#include "stdafx.h"
#include "TCPClient.h"
#include "TCPClientDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE
www.eeworm.com/read/159854/5580259
makefile
!include
objs=tcpclient.obj
all: tcpclient.exe
.cpp.obj:
$(cc) $(cdebug) $(cflags) $(cvarsmt) $*.cpp
tcpclient.exe: $(objs) $(common_objs)
$(link) $(linkdebug) $(conl
www.eeworm.com/read/268195/11149918
cpp tcpclientdlg.cpp
// TCPClientDlg.cpp : implementation file
//
#include "stdafx.h"
#include "TCPClient.h"
#include "TCPClientDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE
www.eeworm.com/read/101386/15835445
makefile
# 计算机学院-网络编程例程
# 张祯
# 2004-03-24
# usage: nmake //编译整个程序
# nmake clean //清除所有编译后的内容
all : tcpclient.exe tcpserver.exe
.c.exe :
cl /c /W3 /Zi /MT /DWIN32 /D_CO
www.eeworm.com/read/112692/6144850
h tcpclien.h
// TCPClient.h : main header file for the TCPCLIENT application
//
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main sym
www.eeworm.com/read/258005/11895718
txt readme.txt
此模拟器模拟了TCP/IP的服务器端和客户端的连接和通讯
服务器端为server.bat
客户端为client.bat
需要先启动服务器端再启动客户端,启动客户端后会看到服务器端接收到入连接,在客户端可通过发送请求来获取服务器的响应
默认情况下服务器端和客户端需要在同一机器,也可在不同机器,不过需要修改client.bat文件,做成如下格式:
java com.tcpsim.TCPCli ...
www.eeworm.com/read/174141/9606570
txt 新建 文本文档.txt
运行方法:
tcpserver.c : # ./tcpserver 端口号
tcpclient.c : # ./tcpclient IP地址 端口号
成功现象是 server 先运行,client运行后会收到server的回复。回复内容是:“hello1socket communication world!”