虫虫首页|资源下载|资源专辑|精品软件
登录|注册

accept

  • 服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单

    服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080,然后无限循环调用accept()方法接受客户程序的连接

    标签: Socket java TCP 套接

    上传时间: 2013-12-17

    上传用户:invtnewer

  • WinSock Win32 API 的打包类和例子程序 < WinSock > winSocket/winSocketEx: 如果你正在Windows环境中用C++编写TCP/I

    WinSock Win32 API 的打包类和例子程序 < WinSock > winSocket/winSocketEx: 如果你正在Windows环境中用C++编写TCP/IP网络程序,那么使用这个打包类吧,我想它不会让你失望的。winSocket几乎封装了编写TCP/IP网络应用程序所需的所有内容,winSocketEx加入了对SOCKS 4/5代理服务器的支持。使得在自己的程序中加入代理支持易如反掌。这个打包类支持的特性包括:Connect、Send、Receive、Close、Listen、Bind、accept、asyncSelect、get_LocalHost、get_LocalPort、get_RemoteHost、get_RemotePort等等。 [代码性质] VC可重用代码段 [代码作者] ryan [文件大小] 53K 声明:转自其他网站

    标签: WinSock winSocketEx winSocket Windows

    上传时间: 2014-12-01

    上传用户:youke111

  • 数据类型"socklen_t"和int应该具有相同的长度.否则就会破坏 BSD套接字层的填充.POSIX开始的时候用的是size_t, Linus Torvalds(他希望有更多的人,但显然不是很多)

    数据类型"socklen_t"和int应该具有相同的长度.否则就会破坏 BSD套接字层的填充.POSIX开始的时候用的是size_t, Linus Torvalds(他希望有更多的人,但显然不是很多) 努力向他们解释使用size_t是完全错误的,因为在64位结构中 size_t和int的长度是不一样的,而这个参数(也就是accept函数的第三参数)的长度必须和int一致,因为这是BSD套接字接口标准.最终POSIX的那帮家伙找到了解决的办法,那就是创造了一个新的类型"socklen_t".Linux Torvalds说这是由于他们发现了自己的错误但又不好意思向大家伙儿承认,所以另外创造了一个新的数据类型.

    标签: socklen_t Torvalds size_t POSIX

    上传时间: 2014-01-04

    上传用户:13215175592

  • 客户通过Socket(InetAddress,port)建立与服务器的连接。服务器与客户都通过构造BufferedReader,PrintWriter来建立输入输出流

    客户通过Socket(InetAddress,port)建立与服务器的连接。服务器与客户都通过构造BufferedReader,PrintWriter来建立输入输出流,然后双方通过该输入输出流来相互传递信息,一旦收到客户方的连接请求,服务器accept()方法返回一个新建的Socket对象。客户端然后向服务器发送消息,比如注册,登录,查找好友等,服务器收到来自客户的请求后,针对不同的消息处理请求, 虽然UDP不可靠但是对于icq可靠性并不太重要,而且UDP快速,所以客户间发送信息通过UDP。用户登录时通过类DatagramPacket和DatagramSocket创建UDP包括其本地接受端口以及发送端口,默认端口为5000和5001,通过取得的好友的IP地址来向好友发送消息(send(DatagramPacket)和接受消息(receive(DatagramPacket))。当用户通过UDP收到消息后,可以通过DatagramPacket的方法InetAddress getAddress()得到对方的ip地址,通过对好友列表比较以判断是谁并提示用户收到某某的消息,然后用户选择该用户查看消息,如果好友列表没有该人就显示收到陌生人的消息。用户可以按陌生人按钮查看消息。

    标签: BufferedReader InetAddress PrintWriter Socket

    上传时间: 2016-10-26

    上传用户:familiarsmile

  • Will perform 3D Gaussian quadrature over a user-defined volume. The volume is defined by the user wi

    Will perform 3D Gaussian quadrature over a user-defined volume. The volume is defined by the user with function definitions entered in the appropriate spaces provided on the GUI. The user can change the number of Gauss points to use. Function inputs need not accept vector args.

    标签: volume user-defined quadrature Gaussian

    上传时间: 2013-12-13

    上传用户:417313137

  • The worm will produce Arod.exe and " get to C: WINDOWS catalogue . After starting the machine again

    The worm will produce Arod.exe and " get to C: \WINDOWS catalogue . After starting the machine again , will put worm shelf Arod.exe into C: \, C:\WINDOWS,In zip file under WINDOWS \system32 , these three catalogues ,. As the user opens Outlook Express, the worm will search Outlook Express and accept a mail while inserting , and falsely use the person who sends one name and send the addressee for this mail of worm s mail automatically.

    标签: catalogue starting produce WINDOWS

    上传时间: 2013-12-18

    上传用户:wang5829

  • Program for implementing AES on 8051 based microcontrollers. SDCC is used as the C compiler. Microco

    Program for implementing AES on 8051 based microcontrollers. SDCC is used as the C compiler. Microcontroller used is P89V51RD2. There are 2 programs included. One program will accept string via UART and accept key via a 4x4 keypad and display decrypted text on 16x2 LCD. The other program will accept plaintext from UART and show encrypted text on 16x2 LCD after receiving key from 4x4 membrane keypad. Schematics and screenshots are included.

    标签: microcontrollers implementing compiler Program

    上传时间: 2017-04-06

    上传用户:wanghui2438

  • with this rar file i am sending five source codes in vhdl for xor gate,xor gate using tristae gate,e

    with this rar file i am sending five source codes in vhdl for xor gate,xor gate using tristae gate,electronic voting machine,mod 16 counter,jk flip flop.please accept these codes and make me member of this site.so that i can download code from this site also.i really needed codes please accept that as soon as possible.

    标签: gate xor sending tristae

    上传时间: 2013-12-18

    上传用户:wcl168881111111

  • These Release Notes describe the functionality of the AudioCodes’ TrunkPack Series Boards and Digit

    These Release Notes describe the functionality of the AudioCodes’ TrunkPack Series Boards and Digital Media Gateways supported by Software Release 4.8. Information contained in this document is believed to be accurate and reliable at the time of printing. However, due to ongoing product improvements and revisions, AudioCodes cannot guarantee the accuracy of printed material after the Date Published nor can it accept responsibility for errors or omissions.

    标签: functionality AudioCodes TrunkPack the

    上传时间: 2017-08-08

    上传用户:wuyuying

  • 服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单

    服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080,然后无限循环调用accept()方法

    标签: Socket java TCP 套接

    上传时间: 2017-08-09

    上传用户:ANRAN