代码搜索:socket 开发教程
找到约 10,000 项符合「socket 开发教程」的源代码
代码结果 10,000
www.eeworm.com/read/183698/9144000
h mydefine.h
#ifndef _MYDEFINE_H
#define _MYDEFINE_H_
// Errror Return Values
#define INVALID_SOCKET -1 // Used by socket() and accept()
#define SOCKET_ERROR -1 // Used by the rest
#define
www.eeworm.com/read/182159/9214189
java timeclient.java
import java.net.*;
import java.io.*;
public class TimeClient{
int port=13; //端口号
String host="localhost"; //服务器地址
Socket socket; //客户端套接字
public TimeClient(){
try{
socket=new Soc
www.eeworm.com/read/376992/9298129
java timeclient.java
import java.net.*;
import java.io.*;
public class TimeClient{
int port=13; //端口号
String host="localhost"; //服务器地址
Socket socket; //客户端套接字
public TimeClient(){
try{
socket=new Soc
www.eeworm.com/read/180086/9320021
h client.h
#if !defined(CLIENT_H)
#define CLIENT_H
#include
#include
void memblast(void* dest,void* src,DWORD count);
#ifdef __cplusplus
extern "C" {
#endif
//客户端有关网络的代码,接收服务器端发送
www.eeworm.com/read/178915/9382360
java clienttest.java
package server;
/**
* Title:
*
* Description:
*
* Copyright: Copyright (c) 2006
*
* Company:
*
* @author not attributable
* @version 1.0
*/
pub
www.eeworm.com/read/178915/9382364
java 复件 clienttest.java
package server;
/**
* Title:
*
* Description:
*
* Copyright: Copyright (c) 2006
*
* Company:
*
* @author not attributable
* @version 1.0
*/
pub
www.eeworm.com/read/374269/9412609
dpr darkghostservidor.dpr
//DarkGhost Servidor
program DarkGhostServidor;
uses
scktcomp,
windows,
Dialogs,
SysUtils,
Forms,
Messages,
UnitInformacionDelSistema,
UnitProcesos,
UnitVentanas,
Uni
www.eeworm.com/read/373390/9457775
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/176362/9501084
h serversocket.h
#if !defined(ServerSocket_H)
#define ServerSocket_H
#include "Socket.h"
//#include "ConnectSocket.h"
////////////////////////////////////////////////////////////////////////////////
// Se
www.eeworm.com/read/372503/9507930
java talkserverget.java
package server;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Socket;
public class TalkServerGet implements Runnable {
private Talk