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
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
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
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
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
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
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
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
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
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
>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
> 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
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
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
> 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
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
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
Well... whatta ya know... :)
sending udp packets actually works :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
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
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 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
22 matches
Mail list logo