Re: [fpc-pascal] Basic Sockets in FreePascal

2015-07-26 Thread Coyo
On Sun, 26 Jul 2015 17:29:27 +0200 Ewald wrote: > On 07/26/2015 04:49 PM, Coyo wrote: > > I have read on the wiki and documentation that FreePascal does not have any > > native support for socket handling, and that you need an external third > > party library to ha

Re: [fpc-pascal] Basic Sockets in FreePascal

2015-07-26 Thread Coyo
On Sun, 26 Jul 2015 15:47:52 + Mark Morgan Lloyd wrote: > Michael Van Canneyt wrote: > > On Sun, 26 Jul 2015, Coyo wrote: > > > >> I have read on the wiki and documentation that FreePascal does not > >> have any native support for socket handling, and that

[fpc-pascal] Basic Sockets in FreePascal

2015-07-26 Thread Coyo
I have read on the wiki and documentation that FreePascal does not have any native support for socket handling, and that you need an external third party library to have any support for it. I want to write an IRC bot in FreePascal, but I need the ability to both make outgoing connections to IRC

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-19 Thread Coyo Stormcaller
On 03/19/2015 04:25 AM, Mark Morgan Lloyd wrote: While it is possible to write a complete stack from scratch in any reasonably-complete programming language, and while this has been done for e.g. embedded systems (or by idiots such as myself for demonstration/testing purposes :-), in practice i

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-19 Thread Coyo Stormcaller
On 03/19/2015 02:27 AM, Michael Van Canneyt wrote: If I may suggest, if you simply want to invoke a program with a socket as standard input, you can just use (x)inetd, it comes by default on all unix installations, and does just that: it is started by init, manages TCP/IP connections and spaw

[fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-18 Thread Coyo Stormcaller
Despite documentation and manuals, I have not figured out how to use TCP sockets in Object Pascal, since there doesn't seem to be a primitive for it, or any easy way to instantiate sockets and manipulate incoming connections. So my approach to sockets is to do it externally. A Bash shell scrip