Can't use py3270 on IBM Personal Communication V6.0

Skip to first unread message

Fffgc Frghv

Jul 9, 2018, 4:44:29 PM7/9/18
to BlazeLibs
Here's my code:

from py3270 import Emulator

em = Emulator(visible=True)

em.fill_field(19, 43, 'username', 7)

Here's the error I got:

OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied

I ran this on Python 3.6.5(32 bits)

Randy Syring

Jul 12, 2018, 9:51:46 AM7/12/18
to, Fffgc Frghv
That sounds like a network communication issue to me.  First step in troubleshooting would be to see if you can get x3270 utilities connecting:

If they can connect, py3270 should be able to as well since it just uses those utilities under the hood.

Randy Syring
Husband | Father | Redeemed Sinner

"For what does it profit a man to gain the whole world
and forfeit his soul?" (Mark 8:36 ESV)

You received this message because you are subscribed to the Google Groups "BlazeLibs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

Reply all
Reply to author
0 new messages