Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Howto open a socket in freepascal to later post on Raspberry
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[SOLVED] GTK3 : Icons hav...
by
theo
[
Today
at 11:29:43 pm]
Debian releases a Gtk3 La...
by
theo
[
Today
at 11:28:36 pm]
Getting results from sql ...
by
CraigC
[
Today
at 10:00:24 pm]
add thumb up or like butt...
by
Martin_fr
[
Today
at 09:35:13 pm]
Problem with drawing orde...
by
wp
[
Today
at 06:26:27 pm]
TChart: Wrong default val...
by
wp
[
Today
at 06:22:26 pm]
Hello! Anything new?
by
simone
[
Today
at 05:47:57 pm]
LAMW Foreground service -...
by
Mongkey
[
Today
at 05:40:05 pm]
could Ardour's YTK be use...
by
Fred vS
[
Today
at 04:59:52 pm]
Any way to "embed" Window...
by
myisjwj
[
Today
at 02:50:41 pm]
mORMot again (HttpServer/...
by
ttomas
[
Today
at 12:45:49 pm]
Is it me or is there some...
by
Martin_fr
[
Today
at 11:48:04 am]
Exiting HeapTrace dump
by
jamie
[
Today
at 11:34:49 am]
CONCAT formula
by
Zvoni
[
Today
at 08:17:21 am]
emuloader: help to resurr...
by
arcadegamer
[March 15, 2026, 08:30:31 pm]
AutoSize TMemo.Height?
by
wp
[March 15, 2026, 05:55:05 pm]
Initialization & finaliza...
by
Martin_fr
[March 15, 2026, 05:24:36 pm]
Possible Enhancement to t...
by
jamie
[March 15, 2026, 04:10:38 pm]
lazarus 4.99 and missing ...
by
wp
[March 15, 2026, 03:11:43 pm]
Questions about TFuncSeri...
by
hedgehog
[March 15, 2026, 06:58:29 am]
CryptoLib4Pascal
by
Xor-el
[March 14, 2026, 06:17:32 pm]
Extended Module Player
by
Gigatron
[March 14, 2026, 05:32:06 pm]
[AGGPas] Difference betwe...
by
Roland57
[March 14, 2026, 04:36:02 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Howto open a socket in freepascal to later post on Raspberry (Read 4984 times)
pascalbythree
Sr. Member
Posts: 286
Howto open a socket in freepascal to later post on Raspberry
«
on:
March 05, 2015, 09:36:00 am »
Does anyone have example code
howto open a TCP/IP socket
to later compile on
freepascal for linux/Raspbian linux for Raspberry
Later a post howto open a i2c bus.
Groet,
Wouter van Wegen
Logged
marcov
Administrator
Hero Member
Posts: 12721
FPC developer.
Re: Howto open a socket in freepascal to later post on Raspberry
«
Reply #1 on:
March 05, 2015, 09:47:42 am »
Afaik all the unit "sockets" examples in the documentation also will work on raspberry pi? The packages/fcl-net/examples and fcl-base/examples might hold examples of the units there (like ssockets)
Logged
ghamm
New Member
Posts: 29
Re: Howto open a socket in freepascal to later post on Raspberry
«
Reply #2 on:
March 30, 2015, 12:12:38 am »
Im using the Synapse tcpip tools on the Raspberry.. seems to work great.
Logged
ghamm
New Member
Posts: 29
Re: Howto open a socket in freepascal to later post on Raspberry
«
Reply #3 on:
April 20, 2015, 05:22:34 am »
Hi,
I tried to make a multi-threaded server with synapse.. but gave up.. it had some issues.. Re-wrote one I had for windows that I wrote about 10 years ago.. seems stable if you would like it..
Logged
Paul Breneman
Sr. Member
Posts: 290
Re: Howto open a socket in freepascal to later post on Raspberry
«
Reply #4 on:
April 20, 2015, 07:19:22 pm »
Control Terminal has simple Synapse code and might be worth a look:
http://ctrlterm.com/
Logged
Regards,
Paul Breneman
www.ControlPascal.com
ghamm
New Member
Posts: 29
Re: Howto open a socket in freepascal to later post on Raspberry
«
Reply #5 on:
April 20, 2015, 08:01:49 pm »
It works fine..most times..but if you close the socket , and try to restart the app.. the Listening socket becomes orphaned..
I wrote my own, seems better..
BTW,
I am just starting a facebook page for the raspberry pi and pascal..
https://www.facebook.com/groups/RaspberryPascal/
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Howto open a socket in freepascal to later post on Raspberry
TinyPortal
© 2005-2018