-
服务器端通过socket()系统调用创建一个Socket数组后(即设定了接受连接客户的最大数目),与指定的本地端口绑定bind(),就可以在端口进行侦听list...
服务器端通过socket()系统调用创建一个Socket数组后(即设定了接受连接客户的最大数目),与指定的本地端口绑定bind(),就可以在端口进行侦听listen()。如果有客户端连接请求,则在数组中选择一个空Socket,将客户端地址赋给这个Socket。然后登录成功的客户就可以在服务器上聊天了。-Server-side through the socket () system call to create a Socket after the array (that is set to receive the maximum number of connected customers), with a specified local port to bind bind (), will be able to listen on port listen (). If the client has to connect the request, then select an empty array Socket, the client address assigned to the Socket. And then sign in the success of customers can chat on the server.
- 2023-08-19 03:20:03下载
- 积分:1
-
用rawsocket构造udp数据包的程序
用rawsocket构造udp数据包的程序-Rawsocket constructed using udp packet procedure
- 2022-01-25 18:01:24下载
- 积分:1
-
elasticsearch-2.4.4
说明: 可以在web开发中用es集群缓存数据,替代数据库,提高效率(You can use elasticsearch)
- 2020-06-16 13:00:01下载
- 积分:1
-
keyboard
扬创2440矩阵键盘 做了一个矩阵的键盘绝对能用(Yang Chuang 2440 Matrix Keyboard)
- 2009-09-14 17:08:40下载
- 积分:1
-
positionpoint
opencv3.0下基于双目相机的空间特征点三维坐标测量(Three dimensional coordinate measurement of space feature points based on binocular camera under opencv3.0)
- 2020-11-06 19:29:49下载
- 积分:1
-
CPP-(1)
求用户从键盘输入的一个日期对应的是星期几(Seeking user input a date from the keyboard corresponding to the week)
- 2011-07-17 10:33:00下载
- 积分:1
-
HEU_KMS_Activator_v2.4
合并果子,压缩是一种有效的减小数据量的方法,目前已经被广泛应用于各种类型的信息系统之中。
一种压缩文本文件的方法如下:
1. 原始文本文件中的非字母的字符,直接拷贝到压缩文件中;
2. 原始文件中的词(全部由字母组成),如果是第一次出现,则将该词加入到一个词的列表中,并拷贝到压缩文件中;否则该词不拷贝到压缩文件中,而是将该词在词的列表中的位置拷贝到压缩文件中。
3. 词的列表的起始位置为 1 。 词的定义为文本中由大小写字母组成的最大序列。大写字母和小写字母认为是不同的字母,即 abc 和 Abc 是不同的词。词的例子如下: * x-ray 包括两个词 x 和 ray * mary s 包括两个词 mary 和 s * a c-Dec 包括三个词 a 和 c 和 Dec 编写一个程序,输入为一组字符串,输出为压缩后的文本。(Fruit combined compression is an effective method for reducing the amount of data, has been widely applied to various types of information into the system. A method of compressing a text file is as follows: 1 original text file non-alphabetic characters, copy directly to the compressed file 2 words in the original document (all composed of letters), if it is the first time, then. The word is added to a word list, and copied to the compressed file otherwise the term is not copied to the compressed file, but the position of the word in the list of words copied to the archive. 3 the starting position is a list of words. The maximum term is defined by a sequence of text consisting of uppercase and lowercase letters. Uppercase and lowercase letters are considered different letters, ie abc and Abc are different words. Examples of the word as follows:* x-ray consists of two words x and ray* mary' s, including two words mary and s* a c-Dec consists of three words a and c and Dec to write )
- 2013-12-02 17:28:34下载
- 积分:1
-
SBI-Bank-PO-Examination---General-Awareness-Quest
question bank for banking purpose sbi
- 2014-06-23 19:06:27下载
- 积分:1
-
蝙蝠算法的简单实现 BA
说明: 蝙蝠算法的简单实现,基于matlab的蝙蝠算法(Simple implementation of bat algorithm, bat algorithm based on matlab)
- 2020-07-07 14:58:31下载
- 积分:1
-
用NetBios做的网络通讯源程序,可以实现和支持NetBios以太网通讯的装置通信...
用NetBios做的网络通讯源程序,可以实现和支持NetBios以太网通讯的装置通信-Do with NetBios source network communication can be achieved and support for Ethernet NetBios communications device communications
- 2022-02-25 06:04:06下载
- 积分:1