Giter VIP home page Giter VIP logo

sokit's Issues

代码请教?

class ServerForm : public BaseForm
{
Q_OBJECT
...
private:
...
Ui::ServerForm m_ui;
};
这个地方为什么可以这样用?这个和前向声明什么关系?Ui::ServerForm m_ui;

开机自动运行并记录

能否支持一下开机可以自动运行软件的设置,且配置为上次关闭的配置,并打开自动记录文档的功能?

data direction indicator

The data direction indicator (--> and <--) in the Outputlog on the Transfer Tab seems to be in the wrong direction !?

[INFO] About sokit UDP connections timeout feature

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);
		}
	}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.