1.tencent://message/?线聊系统uin=627722999&Site=&Menu=yes
2.求聊天系统中客户端通信C/C++源代码!!天系统源网站视频弹幕源码!码线人脸支付源码开发
tencent://message/?聊天动神指标源码uin=627722999&Site=&Menu=yes
ç¸ä¿¡å¾å¤æåå¨è®¿é®å«äººçå客ãç½ä¸ååæ¶å¯è½ä¼åç°ä¸é½æè¿æ ·çå°ç©æï¼ ç¹å»ä¸å°±å¯ä»¥å¼¹åºå¯¹è¯æ¡å主人è¿è¡å¯¹è¯ï¼èä¸æ éå 对æ¹ä¸ºå¥½åãä¸ãè ¾è®¯æä¾ç代ç 为ï¼
<a href="tencent://message/?uin=&Site=JooIT.com&Menu=yes">
<img border="0" SRC='blogs.com/phinecos/HelloWorldProtocal.rar)
ç»éä½ çQQ空é´åç¹èªå®ä¹ï¼å¿«æ·é®Ctrl+jï¼Alt+jï¼ç¹æ°å»ºæ¨¡åâ大å¾æ¨¡åâè¾å ¥æè ç²è´´åå¤å¶çå°åãç¶åç¹âæ´å¤è®¾ç½®âï¼ç¹å¼ä¹åä¸é¢æ个æ¾ç¤ºè¾¹æ¡ï¼ç¹âä¸æ¾ç¤ºâãä¸é¢æ个å¾çè¿æ¥å°åè¾å ¥ï¼
tencent://message/?uin=*****&Site=www.qqkj.cn&Menu=yes
æä¸é¢å°åä¸ç*****æ¹æä½ çqqå·ç ï¼æåæ交就å¯ä»¥äºï¼
å ãåèèµæï¼
1ãRegistering an Application to a URL Protocol
2ãRegister protocol
3ãä»¿è ¾è®¯ QQ å Skype éè¿URL触åèªå·±çç¨åºã
4ãç±Tencent://Messageåè®®æ³å°çä¸ä¸ªè§£å³æ¹æ¡ã
求聊天系统中客户端通信C/C++源代码!!源码用公式选股源码!线聊系统做溯源码赚钱
#include "stdafx.h"
#include <Winsock2.h>
#include <windows.h>
#include <stdio.h>
#include <iostream>
#include <string.h>
using namespace std;
#pragma comment (lib,天系统源"ws2_.lib")
int _tmain(int argc, _TCHAR* argv[])
{
WORD wVersionRequested;//版本号
WSADATA wsaData;
int err;
wVersionRequested = MAKEWORD( 2, 1 );//1.1版本的套接字
err = WSAStartup( wVersionRequested, &wsaData );
if ( err != 0 ) {
return 0;
}//加载套接字库,加裁失败则返回
if ( LOBYTE( wsaData.wVersion ) != 2 || HIBYTE( wsaData.wVersion ) != 1 ) {
WSACleanup( );
return 0;
}//如果不是码线1.1的则退出
SOCKET sockClient = socket(AF_INET,SOCK_STREAM,0);//创建socket SOCK_STREAM表示TCP
if (sockClient==INVALID_SOCKET)
{
cout<<"INVALID_SOCKET"<<endl;
}
SOCKADDR_IN addrClient; //设置相关地址结构
cout<<"ip"<<endl;
char ip[]=".0.0.1";
cin>>ip;
addrClient.sin_addr.s_addr=inet_addr(ip);
addrClient.sin_family=AF_INET;
addrClient.sin_port=htons();//设置server端端口号,你可以随便设置
//连接
int x=connect(sockClient,聊天(SOCKADDR*)&addrClient,sizeof(SOCKADDR));
if (x==SOCKET_ERROR)
{
cout<<"连接出错"<<endl;
return 0;
}
while(1)
{
char ddb_send[]="\0";
cin>>ddb_send;
if (strcmp(ddb_send,"exit")==0)
break;
char * buf=ddb_send;
int y=send(sockClient,buf,,0);
if (y==SOCKET_ERROR)
cout<<"SOCKET_ERROR"<<endl;
}
closesocket(sockClient);//关闭
WSACleanup();
return 0;
}