---
name: "Net.sendByte"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Net.sendByte"
---

# Net.sendByte(3kaya)

Send a single byte across a connection.

## NAME

Net::sendByte - Send a single byte across a connection.

## SYNOPSIS

**Void sendByte(** *NetHandle h, Int byte* **)**

## ARGUMENTS

**h** The connection

**byte** The byte to send

## DESCRIPTION

Send a single byte across a connection. The Int passed should be between 0 and 255, or the results are unpredictable. This function does not yet support TLS connections.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**Net.NetHandle (3kaya)**

**Net.accept (3kaya)**

**Net.closeConnection (3kaya)**

**Net.connect (3kaya)**

**Net.send (3kaya)**

**Net.sendBytes (3kaya)**

**Net.recv (3kaya)**
