#1
|
|||
|
|||
python: send to port
Hi,
It is possible to send all output to a network Port? So i can catch it like this? sock = socket.socket(socket.AF_INET, # Internet socket.SOCK_DGRAM) # UDP sock.bind((UDP_IP, UDP_PORT))) Daten, addr = sock.recvfrom(1024) print(data.decode('UTF-8').upper()) |
#2
|
|||
|
|||
Hi JensH,
How is SecureCRT involved? Has it received the output? What version of SecureCRT are you using? On what OS/platform?
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
it is connected to the COM interface and is supposed to display everything that comes there in time and transfer it to a Python program via network.
The Python program then evaluates what is coming but that's another issue and wrong here ![]() using: scrt852-x64 |
#4
|
|||
|
|||
Hi JensH,
It's still not clear to me how you are attempting this. The only way I could see this being possible is using the _socket module, which is presently not supported in SecureCRT/Windows. I have added this thread to a feature request in our product enhancement database to add native support for _socket Python module on Windows. Should a future release of SecureCRT include this feature, notification will be posted here. If you prefer direct email notification, send an email to support@vandyke.com and include Feature Request - Forum Thread #13908 in the subject line or use this form from the support page of our website.
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#5
|
|||
|
|||
Hi all,
I wanted to let you know the __socket module should be available as of SecureCRT v9.0, currently in beta 1 release, since this support was added: Changes in SecureCRT 9.0 (Beta 1) -- September 24, 2020 ------------------------------------------------------- New Features:
Note that this is Windows only support at this time. In fact, we released beta 1 installers *only* for Windows. We hope to include all platforms in later releases.
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|