sinpolib / sokit Goto Github PK
View Code? Open in Web Editor NEWSokit is a TCP & UDP package send / receive / transfer tool
License: GNU General Public License v3.0
Sokit is a TCP & UDP package send / receive / transfer tool
License: GNU General Public License v3.0
sokit 这个操作我很喜欢, 也有很多朋友希望能得到更新. 大家一起做啊
亲爱的,能否增加定时持续发包功能,作为调试最想要的是:
1,持续定时发包。
2,自定义本地端口。
To help someone who is curious about why UDP connection lost.
The sokit use a timer to detect whether the UDP connection is lost, if there is no data communication over a UDP connection more than 2min. Sokit will remove the UDP connection from the list.
Related code:
e041ccb : src/sokit/serverskt.cpp line 334
m_timer.start(2000);
e041ccb : src/sokit/serverskt.cpp line 435
void ServerSktUdp::check()
{
QStringList list;
getKeys(list);
while (!list.isEmpty())
{
QString k = list.takeFirst();
void* c = getCookie(k);
if (c && (((Conn*)c)->stamp.addSecs(120) < QDateTime::currentDateTime()))
{
close(c);
unsetCookie(k);
}
}
}
{"MsgID":1004,"ProtocolType":"StockIn","Position":[010101,010102,010201,010202,010301,010302,010401,010402]}
这消息就发送不出去
自由切换GB2312 utf8等。
IPv6版本的sokit正在测试开发中, 详见 https://github.com/liuqun/sokit/commits/ipv6support
向sokit原作者致敬!
RT
class ServerForm : public BaseForm
{
Q_OBJECT
...
private:
...
Ui::ServerForm m_ui;
};
这个地方为什么可以这样用?这个和前向声明什么关系?Ui::ServerForm m_ui;
被测的服务端:当缓冲区中存在换行符的时候,开始处理数据。
使用sokit作为客户端:如何在发送数据的最后,包含一个换行符。
能否支持一下开机可以自动运行软件的设置,且配置为上次关闭的配置,并打开自动记录文档的功能?
first I apologize for my irrational request。
this is my artical which provide the macos edition.
https://juejin.im/post/5a77cb456fb9a0634e6c6c14
I wanna use it on the MacBook, how could I build it, please let me know, thank you.
为什么不发布最新的Windows版本
The data direction indicator (--> and <--) in the Outputlog on the Transfer Tab seems to be in the wrong direction !?
Please move it to github, google code dead
Original issue reported on code.google.com by [email protected]
on 24 Mar 2015 at 3:20
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.