代码搜索:socket 开发教程
找到约 10,000 项符合「socket 开发教程」的源代码
代码结果 10,000
www.eeworm.com/read/220690/14791797
makefile
all: server.o client.o
server.o : socket_server.c
gcc -o server.o socket_server.c
client.o : socket_client.c
gcc -o client.o socket_client.c
www.eeworm.com/read/220645/14794479
java serverthread.java
import java.io.*;
import java.net.Socket;
public class ServerThread extends Thread {
// 绑定服务器
private Server server;
// 获得连接
private Socket socket;
// 构造函数
public ServerThread(Serv
www.eeworm.com/read/119695/14824339
cpp mysocket.cpp
/* File : mysocket.cpp */
#include
#include
#include "mysocket.h"
MySocket::MySocket()
// Socket constructor that performs no initialization other then
// setting defaul
www.eeworm.com/read/119269/14835684
c winnet.c
/*
* Windows networking abstraction.
*
* Due to this clean abstraction it was possible
* to easily implement IPv6 support :)
*
* IPv6 patch 1 (27 October 2000) Jeroen Massar
www.eeworm.com/read/219376/14884271
java simpleclient.java
package socket;
import java.net.*;
import java.io.*;
public class SimpleClient {
public static void main(String args[]) throws IOException {
Socket s1;
InputStream s1In;
D
www.eeworm.com/read/117461/14919509
cpp mysocket.cpp
/* File : mysocket.cpp */
#include
#include
#include "mysocket.h"
MySocket::MySocket()
// Socket constructor that performs no initialization other then
// setting defaul
www.eeworm.com/read/117460/14919605
cpp mysocket.cpp
/* File : mysocket.cpp */
#include
#include
#include "mysocket.h"
MySocket::MySocket()
// Socket constructor that performs no initialization other then
// setting defaul
www.eeworm.com/read/116603/14963646
java multijabberserver.java
//: c15:MultiJabberServer.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// A server that uses multithreading
// to handle a
www.eeworm.com/read/116603/14963689
java multijabberclient.java
//: c15:MultiJabberClient.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Client that tests the MultiJabberServer
// by sta