How to get low level UNIX socket calls executed through perl?

Solution Unverified - Updated -

Issue

  • There is a perl script written to communicate with serial port using cu command.
  • Its required to close the serial port in order to open another session using ~. command to end the port connection but it fails to do that.
  • How can one get low level UNIX socket calls executed in such condition?

Environment

  • Red Hat Enterprise Linux 6.4
  • perl

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.