文章 2022-06-13 来自:开发者社区

python——通过socket实现服务器端和客户端的在线聊天

本文转载:https://xiaochuhe.blog.csdn.net/article/details/122686803服务端代码:#通过socket实现服务器端和客户端的在线聊天 import socket #导入socket模块 s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)#声明socket类型面向连接,套接字家族为AF_INE....

python——通过socket实现服务器端和客户端的在线聊天
文章 2017-11-08 来自:开发者社区

基于socket、多线程的客户端服务器端聊天程序

服务器端: using System; using System.Windows.Forms; using System.Net.Sockets; using System.Net;//IPAddress,IPEndPoint(ip和端口)类 using System.Threading; using System.Collections.Generic; using System.IO;...

文章 2012-02-20 来自:开发者社区

java socket 客户端和服务器端互相通信(聊天)

客户端: package com.lzx.socket; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; public class SocketCli...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。