Wow it seems the socket unit documentation is way out of date.
I check the source...
sockets.pp uses winsock :D
sockets has a lot more functions :D
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
What my program would need is:
When a packet is received:
source address and source port
When sending a packet...
supplieing a
dest address and dest port.
The last could be done with connect.
How to do the first is now the question...
Maybe with recv... but the doc says it needs to be in a
Wow..
Sending udp packets works for linux too...
Exactly the same code :)
Just cross compiled lol.
:D
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
In windows that is...
Now trying for linux :D
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Well... whatta ya know... :)
sending udp packets actually works :D
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
This does seem to work but if it is usefull ?
MySocket := socket( AF_INET, SOCK_DGRAM, PF_UNSPEC );
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
MySocket := socket( AF_INET, SOCK_DGRAM, PF_INET );
This call fails with socket error 10043
I am guessing protocol not supported ?
Do I need to start winsock first or something...
I would like to work with the udp protocol.
___
fpc-pascal maillist
> I need a simple socket example in free pascal for windows and linux
> platform.
I found the documentation in the free pascal distribution...
I will now try to make my own example :D
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepas
I need a simple socket example in free pascal for windows and linux
platform.
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
In reply to your message of July 29, 2003
>> I would like to include some simple "ascii plots" in my textual
>> output files, like :
> I'm sorry that I can't give you a unit. But look at "Maple"
> (http://www.maplesoft.com/). For Linux I've got an X interface (xmaple)
> and a text interface (mapl
In reply to your message of July 29, 2003
> This is a documentation page of the resource compiler GoRC^
> http://www.jorgon.freeserve.co.uk/ResourceFrame.htm
Now THAT was helpful! Thank you.
I also found out I was missing a couple of help files from WinSDK I "borrowed"
from Delphi7... one of
>I would like to include some simple "ascii plots" in my textual output
>files, like :
There are some routines for ASCII plotting in this book:
Press, W. H., Flannery, B. P., Teukolsky, S. A., & Vetterling, W. T.
(1986).
Numerical recipes: The art of scientific computing. Cambridge, England
In reply to your message of July 29, 2003
> http://www.users.on.net/johnson/resourcehacker/
> It can handle all exe files, that compiled with resources. Can get or edit
> menus, dialogs, icons and not only text mode. You can see menus and dialogs
> in wyswyg mode.
Yeah I looked at that, and it
Hi!
> I would like to include some simple "ascii plots" in my textual
> output files, like :
I'm sorry that I can't give you a unit. But look at "Maple"
(http://www.maplesoft.com/). For Linux I've got an X interface (xmaple)
and a text interface (maple).
The text interface does drawing plots as
Hello, L!
You wrote to "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> on Tue, 29 Jul 2003 09:55:38 -0400:
LB> Does anyone know where I can get some documentation and examples on
LB> Windows resource files?
LB> I'm mostly interested in imbedding icons, menus, dialogs gadgets and
LB> version info.
T
I would like to include some simple "ascii plots" in my textual
output files, like :
10.0| **
| * *
| * *
|**
|**
* *
* *
**
* *
* *
* *
0.00|---*-*-
-3.5 3.50
I've coded something sim
http://www.users.on.net/johnson/resourcehacker/
It can handle all exe files, that compiled with resources. Can get or edit
menus, dialogs, icons and not only text mode. You can see menus and dialogs
in wyswyg mode.
#Tsch : Balázs Csaba
> Does anyone know where I can get some documentation and
Does anyone know where I can get some documentation and examples on Windows
resource files?
I'm mostly interested in imbedding icons, menus, dialogs gadgets and version
info.
Thanks..
-
L D Blake
___
fpc-pascal maillist - [EMAIL PROTECTED]
ht
Thx, it was the problem.
#Tsch : Balázs Csaba
> You must make your program "setuid root".
>
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Tue, 29 Jul 2003, [iso-8859-2] Balázs Csaba wrote:
> Hi!
> I like to access ports as a simple user. Only root user can do it.
> So i like to run a program with root user and first fork or execve to the
> same program with setuid(). So how can i run a program with root user whene
> i logged in
Hi!
I like to access ports as a simple user. Only root user can do it.
So i like to run a program with root user and first fork or execve to the
same program with setuid(). So how can i run a program with root user whene
i logged in with a simple one? Can i fork port access rights?
Best reg.
#Tsch
Title: Üzenet
Hi!
I like to access
ports as a simple user. Only root user can do it.
So i like to run a
program with root user and first fork or execve to the same program with
setuid(). So how can i run a program with root user whene i logged in with a
simple one? Can i fork port access rig
22 matches
Mail list logo