Location:
Search - socket lib
Search list
Description: 一个实现了socket 封装的Lib 库,节约开发时间
Platform: |
Size: 868441 |
Author: 类型 |
Hits:
Description: 一个在VC下的windows socket编程是用来做简单的文件传输,不是MFC的,是控制台下的编程,比较适合初学者学习,我用的是C语言编程,注意要在VC中的project-setting-link中加入ws2_32.lib否则会有编译错误
Platform: |
Size: 3123 |
Author: 陈鸡洋 |
Hits:
Description: 老外的TCPLIB 里面包括了很多东西,比如Sniff,以及IGMP封包,TCP封包,UDP封包等等封包创建程序,以及隐匿扫描端口程序和很多很多一共有10多个基于这个LIB的实例程序。为了让目录比较整洁,本来可以拆成10个源码的我把他压缩在了一起。-of the foreigners TCPLIB includes a lot of things, such as Sniff and IGMP packets, TCP packets, UDP packets, and so on the packet creation procedures, and misprision of port scanning procedures and there are a lot more than 10 on the LIB examples of procedures. To enable comparison directory clean, could have stuffed into 10 source I regard him in the compressed together. Ha ha
Platform: |
Size: 6506496 |
Author: 朱文琪 |
Hits:
Description: 直接用socket实现HTTP协议-direct socket achieve HTTP protocol
Platform: |
Size: 69632 |
Author: |
Hits:
Description: 此工程主要包含了两个自己编写的类,:CSocketBlockServer和CSocketBlockClient。程序主要说明如何通过使用这两个类,采用"阻塞SOCKET"来实现快捷、高效的目的。我们平常所见的SOCKET程序,一般都是使用"非阻塞SOCKET",以其提高程序的效率。那么有没有办法使用"阻塞SOCKET"也能方便、快捷的实现我们的网络通讯要求呢?CSocketBlockServer和CsocketBlockClient主要是为了这一目的而编写的。目的分述如下: 1.为了简化使用"阻塞SOCKET"的编程。 2.此外,我发现很多类似的程序中,服务器或客户端既是服务器、又是客户端,尽管这 并不影响通讯,但这确实淡化了C/S模式的本意 这两个类很好的体现了C/S模式,而且 支持多用户。 3.这两个类,可以做为"非阻塞SOCKET"的补充。 使用时,需要在主程序中开辟额外的线程,在线程内部调用这两个类的成员函数来实现,实现过程比较简便。只要客户端成功连接到服务器,双方就可以任意发送数据,而不需要多 次连接。 如果编译时有错误提示:找不到ws2_32.lib,则请确认该文件的实际路径,将此文件加入工程中即可。-this project mainly involves the preparation of his two categories : CSocketBlockServer and CSocketBlockClient. The procedure on how to use these two categories, "SOCKET obstruction" to achieve a fast, efficient purpose. Usually we see SOCKET procedures are generally used "nonblocking socket," with the efficiency of the process. So is there any way the use of "obstruction SOCKET" convenient and efficient realization of network communications requirements? CSocketBlockServer and CsocketBlockClient mainly to the purpose of preparation. A breakdown is as follows : 1. To simplify the use of "obstruction SOCKET" programming. 2. Moreover, I found that many similar proceedings, the server or client is server, the client is, although this does not affect com
Platform: |
Size: 19456 |
Author: |
Hits:
Description: 一个实现了socket 封装的Lib 库,节约开发时间-A realization of the socket package Lib library, saving development time
Platform: |
Size: 868352 |
Author: 类型 |
Hits:
Description: 一个在VC下的windows socket编程是用来做简单的文件传输,不是MFC的,是控制台下的编程,比较适合初学者学习,我用的是C语言编程,注意要在VC中的project-setting-link中加入ws2_32.lib否则会有编译错误-A VC under windows socket programming is used to make a simple file transfer, instead of MFC, is under the console programming, more suitable for beginners to learn, I use the C language programming, pay attention to the VC in the project-setting-link will be added to ws2_32.lib otherwise compile error
Platform: |
Size: 3072 |
Author: 陈鸡洋 |
Hits:
Description: 概要介绍:
本例子是视频采集与播放是基于vfw。
视频的传输是基于rtp来传输。用的第三开源包是jrtplib。
参考例子:
(1)视频采集,播放,视频传输 我参考了从http://www.programsalon.com/
下下来的NetMeeting_VideoCapture例子 不过它的传输是基于tcp/ip
socket编程的。
(2)jrtplib官方网站的c/s例子
运行配置:
VS2005
头文件
jthread-1.2.1
jrtplib-3.7.1
lib文件:(放到工程目录下。我已经放好了)
jrtplib.lib
jthread.lib
添加的依赖库:
jthread.lib
jrtplib.lib
ws2_32.lib
代码介绍:
具体代码发在网上
http://www.programsalon.com/upload_log.asp?e=hanyuejun2006@163.com
有什么问题请发hanyuejun2006@163.com与我联系。
文件中
videoSendertest
videoReceiver
是我编的例子
video_send
video_recv
是我基于vfw例子
JRTPConsole
是jrtplib c/s例子
-err
Platform: |
Size: 44278784 |
Author: ds |
Hits:
Description: 运行Client和Server两个cpp文件,运行时在设置->link->添加wsock32.lib ,在debug文件中得到两个对应的.exe,然后在dos下运行,在debug文件下输入 Server 2000 ,会显示主机名,再打开一个dos,还是在debug目录下输 Client 主机名 2000 ,就可以客户服务器对话了,输入exit可以退出。-Client and Server both run cpp file, at run-time settings-> link-> add wsock32.lib, at debug document corresponding to two. Exe, then run under dos at the debug file, enter the Server 2000, will show host name, and then open a dos, or in the debug directory lose Client host name 2000, a dialogue can be a client-server, type exit to exit.
Platform: |
Size: 2394112 |
Author: zachary |
Hits:
Description: a self encapsulated socket lib
Platform: |
Size: 10240 |
Author: huangpeng |
Hits:
Description: a simple UDP socket connection using windows socket library (WS2_32.lib).
Platform: |
Size: 7907328 |
Author: ariesooi |
Hits:
Description: socket dll
socket网络编程d-socket dll
socket网络编程dLL
Platform: |
Size: 10240 |
Author: chenchen |
Hits:
Description: http library windows socket http protocol C source code application template
Platform: |
Size: 418816 |
Author: hk4jung |
Hits:
Description: GPRS DTU数据中心 源代码,实际cdma的也可以用
DTU接受程序使用Java编写,其中,…\WSNserver\src 为源文件,…\WSNserver\bin 为可执行程序。该文件夹下project文件可用eclipse for java 直接打开编译。编译是需要注意的是将java-mysql的类库放置在C:\Program Files\Java\jre6\lib\ext路径下。本程序只用到这一个Java外部类库。
在源文件中,DataReceiver.java 为主程序类,通过该类调用其他子类。
其中:DataReceiver.java 包括主程序main,以及TCP/IP 接收数据的实现。
DataAnalysis.java 对接受的数据按照既定格式进行拆分
DataBase.java 将数据写入Mysql数据库
DataStructure.java 规定数据格式
TwoThread.java 开启多线程功能
post.java 实现向新浪网备份数据
GetIP.java 获取本机固定IP-GPRS DTU data center source code, you can also use the actual cdma
DTU to accept the program written in Java, which, ... \ WSNserver \ src for the source file, ... \ WSNserver \ bin for the executable program. The project file folder opened directly available eclipse for java compiler. Compilation is important to note that the library will be java-mysql placed in C: \ Program Files \ Java \ jre6 \ lib \ ext path. This procedure is only used outside this a Java class libraries.
In the source file, DataReceiver.java main classes, the class called by other sub-categories.
Of which: DataReceiver.java including the main program main, and TCP/IP implementation to receive data.
DataAnalysis.java of the received data in accordance with the established format for split
DataBase.java to write data to Mysql database
DataStructure.java data format requirements
TwoThread.java on multithreading
post.java Sina backup data to achieve
GetIP.java fix
Platform: |
Size: 31744 |
Author: 刑名 |
Hits:
Description: 一些常见的网络编程socket的error文件以及一些常见的lib库函数,-Some common network programming socket of the error file as well as some common lib library functions,
Platform: |
Size: 3072 |
Author: 李涛 |
Hits:
Description: Windows 网络编程实例 Socket
#include <winsock2.h> // 为了使用Winsock API函数
#include <stdio.h>
#include <windows.h>
// 告诉连接器与WS2_32库连接
#pragma comment(lib,"WS2_32.lib")-Windows Socket network programming examples
#include <winsock2.h> // 为了使用Winsock API函数
#include <stdio.h>
#include <windows.h>
// 告诉连接器与WS2_32库连接
#pragma comment(lib,"WS2_32.lib")
Platform: |
Size: 30720 |
Author: qzy |
Hits:
Description: C++ 网络通讯库库,基于windows版本的,参考头文件。-this is a socket lib can be used directly.
Platform: |
Size: 1337344 |
Author: chenglei |
Hits:
Description: #include <winsock2.h>
#pragma comment(lib, ws2_32.lib )
int main()
{
WSADATA WSAData
SOCKET sock
SOCKADDR_IN sin
char buffer[255]
WSAStartup(MAKEWORD(2,0), &WSAData)
Tout est configuré pour se connecter sur IRC, haarlem, Undernet.
sock = socket(AF_INET, SOCK_STREAM, 0)
sin.sin_addr.s_addr = inet_addr( 62.250.14.6 )
sin.sin_family = AF_INET
sin.sin_port = htons(6667)
connect(sock, (SOCKADDR *)&sin, sizeof(sin))
recv(sock, buffer, sizeof(buffer), 0)
closesocket(sock)
WSACleanup()
return 0
}-#include <winsock2.h>
#pragma comment(lib, ws2_32.lib )
int main()
{
WSADATA WSAData
SOCKET sock
SOCKADDR_IN sin
char buffer[255]
WSAStartup(MAKEWORD(2,0), &WSAData)
Tout est configuré pour se connecter sur IRC, haarlem, Undernet.
sock = socket(AF_INET, SOCK_STREAM, 0)
sin.sin_addr.s_addr = inet_addr( 62.250.14.6 )
sin.sin_family = AF_INET
sin.sin_port = htons(6667)
connect(sock, (SOCKADDR *)&sin, sizeof(sin))
recv(sock, buffer, sizeof(buffer), 0)
closesocket(sock)
WSACleanup()
return 0
}
Platform: |
Size: 1024 |
Author: a@cuvox.de |
Hits:
Description: HP-Socket 源代码码,demo依赖的dll、lib需要自己用vs编译输出。(HP-Socket source code, demo dependent DLL, lib need to compile their own output with vs)
Platform: |
Size: 4848640 |
Author: gumu110
|
Hits: