Beyond client support
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Citizen
- Posts: 85
- Joined: Sat Oct 25, 2014 7:07 pm
Beyond client support
So, lets say I used someone's mod, to use mics, and wanted to connect to a server, on client code, how would I do that? The only way I've been told, is FTP. But, would file transportation protocol really be secure, and LOGICAL? And, if you have a different solution, can you please explain how to use it, along with lua code examples, with both client and server side code. Thanks!
Re: Beyond client support
what is mics ?
FTP is to put or get file to or from a server.
It is secure if you use FTPS.
I don't know what kind of connection you want.
If it has to be rapid like in a game you must use UDP protocol ( it sends message and nothing else), a tutorial is available on the wiki.
Otherwise you can use TCP protocol ( it opens a connection, then you can transfer data, and close the connection. to slow for games but very efficient for other use, FTP use TCP protocol.)
FTP is to put or get file to or from a server.
It is secure if you use FTPS.
I don't know what kind of connection you want.
If it has to be rapid like in a game you must use UDP protocol ( it sends message and nothing else), a tutorial is available on the wiki.
Otherwise you can use TCP protocol ( it opens a connection, then you can transfer data, and close the connection. to slow for games but very efficient for other use, FTP use TCP protocol.)
-
- Citizen
- Posts: 85
- Joined: Sat Oct 25, 2014 7:07 pm
Re: Beyond client support
There is a thingy here (I don't know how to use): viewtopic.php?f=5&t=79313
And, I was talking about microphones.
I want to make game updates easy(probably FTP), microphone conferences, and live chat. How would I make a client-to-server connection implementing these 3 things?
And, I was talking about microphones.
I want to make game updates easy(probably FTP), microphone conferences, and live chat. How would I make a client-to-server connection implementing these 3 things?
Re: Beyond client support
1. updates: HTTP or FTP server with anonymous access. You don't need FTPS or SFTP because you only read the files.EliterScripts wrote:There is a thingy here (I don't know how to use): viewtopic.php?f=5&t=79313
And, I was talking about microphones.
I want to make game updates easy(probably FTP), microphone conferences, and live chat. How would I make a client-to-server connection implementing these 3 things?
2. Microphone: custom UDP server or pre-existing solution. You will need strong lossy connection to minimize data and time overhead
3. Chat: custom solution (TCP echo server) or just use XMPP, IRC etc.
Re: Beyond client support
You would need to implement your own network protocol, or use existing one. The simplest solution would be sending/receiving raw audio samples over the net using for example enet.EliterScripts wrote:There is a thingy here (I don't know how to use): viewtopic.php?f=5&t=79313
And, I was talking about microphones.
I want to make game updates easy(probably FTP), microphone conferences, and live chat. How would I make a client-to-server connection implementing these 3 things?
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests